	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hci_sched_acl
_hci_sched_acl:                         ## @hci_sched_acl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movslq	20(%rdi), %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	_HCI_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r12), %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, (%r12)
	jne	LBB0_4
## %bb.2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,8), %rax
	leaq	(%rax,%rax,4), %rsi
	addq	8(%r12), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	callq	_hci_acl_tx_to
LBB0_4:
	cmpq	$0, (%r12)
	je	LBB0_12
## %bb.5:
	movq	_jiffies@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_12
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	_ACL_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	leaq	-44(%rbp), %rdx
	callq	_hci_low_sent
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	subl	$1, -44(%rbp)
	jb	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movq	%rax, %r13
	addq	$4, %r13
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_skb_dequeue
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rax, %r14
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	%rbx, %rdi
	callq	_hci_conn_enter_active_mode
	movq	%r14, %rdi
	callq	_hci_send_frame
	movq	(%r15), %rax
	movq	%rax, 8(%r12)
	decq	(%r12)
	incl	(%rbx)
	subl	$1, -44(%rbp)
	jae	LBB0_9
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_HCI_RAW,4,2                    ## @HCI_RAW
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_ACL_LINK,4,2                   ## @ACL_LINK
L_.str.1:                               ## @.str.1
	.asciz	"skb %p len %d"

	.no_dead_strip	_hci_sched_acl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hci_sched_acl
_hci_sched_acl:                         ; @hci_sched_acl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldrsw	x1, [x0, #20]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
Lloh2:
	adrp	x8, _HCI_RAW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCI_RAW@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	cbnz	x8, LBB0_4
; %bb.2:
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _HZ@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	mov	w10, #45
	madd	x1, x9, x10, x8
	bl	_time_after
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_hci_acl_tx_to
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.5:
Lloh11:
	adrp	x24, _ACL_LINK@GOTPAGE
Lloh12:
	ldr	x24, [x24, _ACL_LINK@GOTPAGEOFF]
Lloh13:
	adrp	x20, l_.str.1@PAGE
Lloh14:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh15:
	adrp	x25, _jiffies@GOTPAGE
Lloh16:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_12
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w1, [x24]
	add	x2, sp, #12
	mov	x0, x19
	bl	_hci_low_sent
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	sub	w9, w8, #1
	str	w9, [sp, #12]
	cbz	w8, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x0
	add	x22, x0, #4
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_skb_dequeue
	cbz	x0, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x23, x0
	ldr	w8, [x0]
	str	x8, [sp]
	mov	x0, x20
	mov	x1, x23
	bl	_BT_DBG
	mov	x0, x21
	bl	_hci_conn_enter_active_mode
	mov	x0, x23
	bl	_hci_send_frame
	ldr	x8, [x25]
	ldr	x9, [x19]
	sub	x9, x9, #1
	stp	x9, x8, [x19]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	ldr	w8, [sp, #12]
	sub	w9, w8, #1
	str	w9, [sp, #12]
	cbnz	w8, LBB0_10
	b	LBB0_6
LBB0_12:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_HCI_RAW,4,2                    ; @HCI_RAW
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_ACL_LINK,4,2                   ; @ACL_LINK
l_.str.1:                               ; @.str.1
	.asciz	"skb %p len %d"

	.no_dead_strip	_hci_sched_acl
.subsections_via_symbols
