	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath6kl_htc_rx_chk_water_mark
_ath6kl_htc_rx_chk_water_mark:          ## @ath6kl_htc_rx_chk_water_mark
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r15
	testq	%r15, %r15
	jle	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	movq	(%rdi), %rdi
	callq	_spin_lock_bh
	leaq	12(%rbx), %rdi
	callq	_get_queue_depth
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_spin_unlock_bh
	cmpq	%r15, %r14
	jge	LBB0_2
## %bb.3:
	movq	(%rbx), %rdi
	movl	8(%rbx), %esi
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ath6kl_htc_rx_chk_water_mark
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath6kl_htc_rx_chk_water_mark
_ath6kl_htc_rx_chk_water_mark:          ; @ath6kl_htc_rx_chk_water_mark
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x21, [x0, #16]
	cmp	x21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #24]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x0, [x19]
	bl	_spin_lock_bh
	add	x0, x19, #12
	bl	_get_queue_depth
	mov	x20, x0
	ldr	x0, [x19]
	bl	_spin_unlock_bh
	cmp	x20, x21
	b.ge	LBB0_3
; %bb.2:
	ldr	x0, [x19]
	ldr	w1, [x19, #8]
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	br	x2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ath6kl_htc_rx_chk_water_mark
.subsections_via_symbols
