	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adf_send_admin_cmd
_adf_send_admin_cmd:                    ## @adf_send_admin_cmd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	leaq	-64(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	%ebx, -64(%rbp)
	movq	_ICP_QAT_FW_CONSTANTS_CFG@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	$1024, -60(%rbp)                ## imm = 0x400
	movq	(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_2:
	movq	%r15, %rdi
	callq	*(%r15)
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	leaq	-88(%rbp), %r12
	leaq	-64(%rbp), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_adf_put_admin_msg_sync
	orq	-80(%rbp), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movq	%r15, %rdi
	callq	*(%r15)
	cmpl	%eax, %ebx
	jl	LBB0_4
## %bb.6:
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_7:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICP_QAT_FW_CONSTANTS_CFG,4,2   ## @ICP_QAT_FW_CONSTANTS_CFG
	.comm	_EFAULT,4,2                     ## @EFAULT
	.no_dead_strip	_adf_send_admin_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adf_send_admin_cmd
_adf_send_admin_cmd:                    ; @adf_send_admin_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0, #8]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	w21, [sp, #24]
Lloh0:
	adrp	x8, _ICP_QAT_FW_CONSTANTS_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICP_QAT_FW_CONSTANTS_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1024
	str	w8, [sp, #28]
	ldr	x8, [x19]
	ldr	w8, [x8]
	str	w8, [sp, #40]
LBB0_2:
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.3:
	mov	w21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x2, sp, #24
	mov	x3, sp
	mov	x0, x19
	mov	x1, x21
	bl	_adf_put_admin_msg_sync
	ldr	x8, [sp, #8]
	orr	x8, x0, x8
	cbnz	x8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	cmp	w21, w0
	b.lt	LBB0_4
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ICP_QAT_FW_CONSTANTS_CFG,4,2   ; @ICP_QAT_FW_CONSTANTS_CFG
	.comm	_EFAULT,4,2                     ; @EFAULT
	.no_dead_strip	_adf_send_admin_cmd
.subsections_via_symbols
