	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ionic_adminq_post
_ionic_adminq_post:                     ## @ionic_adminq_post
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_in_interrupt
	movl	%eax, %edi
	callq	_WARN_ON
	movq	%rbx, %rdi
	callq	_spin_lock
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_ionic_q_has_space
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r12), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_DUMP_PREFIX_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, (%rsp)
	leaq	L_.str.1(%rip), %rdi
	movl	$16, %edx
	movl	$1, %ecx
	movq	%r15, %r8
	movl	$4, %r9d
	callq	_dynamic_hex_dump
	movq	_ionic_adminq_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	movq	%r15, %rcx
	callq	_ionic_q_post
	jmp	LBB0_3
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"post admin queue command:\n"

L_.str.1:                               ## @.str.1
	.asciz	"cmd "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ## @DUMP_PREFIX_OFFSET
	.comm	_ionic_adminq_cb,4,2            ## @ionic_adminq_cb
	.no_dead_strip	_ionic_adminq_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ionic_adminq_post
_ionic_adminq_post:                     ; @ionic_adminq_post
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	bl	_in_interrupt
	bl	_WARN_ON
	mov	x0, x19
	bl	_spin_lock
	mov	x0, x21
	mov	w1, #1
	bl	_ionic_q_has_space
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _DUMP_PREFIX_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DUMP_PREFIX_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #16
	mov	w3, #1
	mov	x4, x20
	mov	w5, #4
	mov	w6, #1
	bl	_dynamic_hex_dump
Lloh7:
	adrp	x8, _ionic_adminq_cb@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ionic_adminq_cb@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #1
	mov	x3, x20
	bl	_ionic_q_post
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"post admin queue command:\n"

l_.str.1:                               ; @.str.1
	.asciz	"cmd "

	.comm	_DUMP_PREFIX_OFFSET,4,2         ; @DUMP_PREFIX_OFFSET
	.comm	_ionic_adminq_cb,4,2            ; @ionic_adminq_cb
	.no_dead_strip	_ionic_adminq_post
.subsections_via_symbols
