	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enQ
_enQ:                                   ## @enQ
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	$0, 8(%rdi)
	movq	_txqueue_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_xmQtl@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_1
## %bb.2:
	movq	_xmQhd@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	addq	$8, %rcx
LBB0_3:
	movq	%rbx, (%rcx)
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_debug@GOTPCREL(%rip), %rax
	movq	_DEBUG_LOWER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printk                         ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_txqueue_lock,4,2               ## @txqueue_lock
	.comm	_xmQtl,8,3                      ## @xmQtl
	.comm	_xmQhd,8,3                      ## @xmQhd
	.comm	_debug,4,2                      ## @debug
	.comm	_DEBUG_LOWER,4,2                ## @DEBUG_LOWER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enqueued a 0x%02x command\n"

	.no_dead_strip	_enQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enQ
_enQ:                                   ; @enQ
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [x0, #8]
Lloh0:
	adrp	x20, _txqueue_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _txqueue_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_spin_lock_irqsave
Lloh2:
	adrp	x8, _xmQtl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _xmQtl@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x10, x9, #8
Lloh4:
	adrp	x11, _xmQhd@GOTPAGE
Lloh5:
	ldr	x11, [x11, _xmQhd@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x10, eq
	str	x19, [x9]
	str	x19, [x8]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x8, _debug@GOTPAGE
Lloh7:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _DEBUG_LOWER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DEBUG_LOWER@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printk
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_txqueue_lock,4,2               ; @txqueue_lock
	.comm	_xmQtl,8,3                      ; @xmQtl
	.comm	_xmQhd,8,3                      ; @xmQhd
	.comm	_debug,4,2                      ; @debug
	.comm	_DEBUG_LOWER,4,2                ; @DEBUG_LOWER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enqueued a 0x%02x command\n"

	.no_dead_strip	_enQ
.subsections_via_symbols
