	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_frames
_send_frames:                           ## @send_frames
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	cmpq	$0, 8(%rax)
	jne	LBB0_15
## %bb.2:
	movq	_FLG_LLI_L1WAKEUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	64(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_PACKET_NOACK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	48(%rbx), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	leaq	56(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	32(%rbx), %eax
	addl	%eax, 60(%rbx)
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	_B_ACKPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
LBB0_5:
	movq	(%rbx), %rax
	movq	_L1_MODE_FAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.6:
	movq	16(%rbx), %rax
	movq	_PCTRL_CMD_FTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	_BC_FLG_LASTDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_8:
	movq	_PCTRL_CMD_FTM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:
	movq	_BC_FLG_DLEETX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_BC_FLG_LASTDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
LBB0_11:
	movq	_BC_FLG_NMD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
LBB0_12:
	movq	48(%rbx), %rdi
	callq	_dev_kfree_skb_any
	movq	$0, 32(%rbx)
	movq	$0, 48(%rbx)
LBB0_13:
	leaq	44(%rbx), %rdi
	callq	_skb_dequeue
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	$0, 32(%rbx)
	movq	_BC_FLG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %rsi
	callq	_test_and_set_bit
LBB0_15:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_isar_fill_fifo                 ## TAILCALL
LBB0_16:
	movq	_BC_FLG_DLEETX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:
	movq	_BC_FLG_LASTDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movq	_BC_FLG_NMD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	$0, -28(%rbp)
	movl	24(%rbx), %edi
	movl	40(%rbx), %r15d
	callq	_SET_DPS
	movq	_ISAR_HIS_SDATA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	leaq	-28(%rbp), %r8
	movl	%r15d, %edi
	movl	%eax, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_sendmsg
LBB0_20:
	movq	_BC_FLG_LL_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
	jmp	LBB0_22
LBB0_21:
	movq	_B_LL_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
LBB0_22:
	movq	_BC_FLG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_clear_bit
	movq	_B_XMTBUFREADY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_schedule_event
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLG_LLI_L1WAKEUP,4,2           ## @FLG_LLI_L1WAKEUP
	.comm	_PACKET_NOACK,8,3               ## @PACKET_NOACK
	.comm	_B_ACKPENDING,4,2               ## @B_ACKPENDING
	.comm	_L1_MODE_FAX,8,3                ## @L1_MODE_FAX
	.comm	_PCTRL_CMD_FTH,8,3              ## @PCTRL_CMD_FTH
	.comm	_BC_FLG_LASTDATA,4,2            ## @BC_FLG_LASTDATA
	.comm	_BC_FLG_NMD_DATA,4,2            ## @BC_FLG_NMD_DATA
	.comm	_PCTRL_CMD_FTM,8,3              ## @PCTRL_CMD_FTM
	.comm	_BC_FLG_DLEETX,4,2              ## @BC_FLG_DLEETX
	.comm	_BC_FLG_BUSY,4,2                ## @BC_FLG_BUSY
	.comm	_ISAR_HIS_SDATA,4,2             ## @ISAR_HIS_SDATA
	.comm	_BC_FLG_LL_OK,4,2               ## @BC_FLG_LL_OK
	.comm	_B_LL_CONNECT,4,2               ## @B_LL_CONNECT
	.comm	_B_XMTBUFREADY,4,2              ## @B_XMTBUFREADY
	.no_dead_strip	_send_frames
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_frames
_send_frames:                           ; @send_frames
	.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
	mov	x19, x0
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_13
; %bb.1:
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_15
; %bb.2:
Lloh0:
	adrp	x8, _FLG_LLI_L1WAKEUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLG_LLI_L1WAKEUP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x1, [x19, #64]
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _PACKET_NOACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PACKET_NOACK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #48]
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.4:
	add	x20, x19, #56
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #32]
	ldr	w9, [x19, #60]
	add	w8, w9, w8
	str	w8, [x19, #60]
	mov	x0, x20
	bl	_spin_unlock_irqrestore
Lloh6:
	adrp	x8, _B_ACKPENDING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _B_ACKPENDING@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_schedule_event
LBB0_5:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _L1_MODE_FAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _L1_MODE_FAX@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.6:
	ldr	x8, [x19, #16]
Lloh12:
	adrp	x9, _PCTRL_CMD_FTH@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PCTRL_CMD_FTH@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _BC_FLG_LASTDATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BC_FLG_LASTDATA@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_11
	b	LBB0_12
LBB0_8:
Lloh18:
	adrp	x9, _PCTRL_CMD_FTM@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PCTRL_CMD_FTM@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.9:
Lloh21:
	adrp	x8, _BC_FLG_DLEETX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BC_FLG_DLEETX@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_12
; %bb.10:
Lloh24:
	adrp	x8, _BC_FLG_LASTDATA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BC_FLG_LASTDATA@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
LBB0_11:
Lloh27:
	adrp	x8, _BC_FLG_NMD_DATA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BC_FLG_NMD_DATA@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
LBB0_12:
	ldr	x0, [x19, #48]
	bl	_dev_kfree_skb_any
	str	xzr, [x19, #32]
	str	xzr, [x19, #48]
LBB0_13:
	add	x0, x19, #44
	bl	_skb_dequeue
	str	x0, [x19, #48]
	cbz	x0, LBB0_16
; %bb.14:
	str	xzr, [x19, #32]
Lloh30:
	adrp	x8, _BC_FLG_BUSY@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BC_FLG_BUSY@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_and_set_bit
LBB0_15:
	mov	x0, x19
	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
	b	_isar_fill_fifo
LBB0_16:
Lloh33:
	adrp	x8, _BC_FLG_DLEETX@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BC_FLG_DLEETX@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_22
; %bb.17:
Lloh36:
	adrp	x8, _BC_FLG_LASTDATA@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BC_FLG_LASTDATA@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_21
; %bb.18:
Lloh39:
	adrp	x8, _BC_FLG_NMD_DATA@GOTPAGE
Lloh40:
	ldr	x8, [x8, _BC_FLG_NMD_DATA@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_20
; %bb.19:
	str	wzr, [sp, #12]
	ldr	w21, [x19, #40]
	ldr	w0, [x19, #24]
	bl	_SET_DPS
Lloh42:
	adrp	x8, _ISAR_HIS_SDATA@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ISAR_HIS_SDATA@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	orr	w1, w8, w0
	add	x4, sp, #12
	mov	x0, x21
	mov	w2, #1
	mov	w3, #1
	bl	_sendmsg
LBB0_20:
Lloh45:
	adrp	x8, _BC_FLG_LL_OK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _BC_FLG_LL_OK@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
	b	LBB0_22
LBB0_21:
Lloh48:
	adrp	x8, _B_LL_CONNECT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _B_LL_CONNECT@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_schedule_event
LBB0_22:
Lloh51:
	adrp	x8, _BC_FLG_BUSY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _BC_FLG_BUSY@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
Lloh54:
	adrp	x8, _B_XMTBUFREADY@GOTPAGE
Lloh55:
	ldr	x8, [x8, _B_XMTBUFREADY@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_schedule_event
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_FLG_LLI_L1WAKEUP,4,2           ; @FLG_LLI_L1WAKEUP
	.comm	_PACKET_NOACK,8,3               ; @PACKET_NOACK
	.comm	_B_ACKPENDING,4,2               ; @B_ACKPENDING
	.comm	_L1_MODE_FAX,8,3                ; @L1_MODE_FAX
	.comm	_PCTRL_CMD_FTH,8,3              ; @PCTRL_CMD_FTH
	.comm	_BC_FLG_LASTDATA,4,2            ; @BC_FLG_LASTDATA
	.comm	_BC_FLG_NMD_DATA,4,2            ; @BC_FLG_NMD_DATA
	.comm	_PCTRL_CMD_FTM,8,3              ; @PCTRL_CMD_FTM
	.comm	_BC_FLG_DLEETX,4,2              ; @BC_FLG_DLEETX
	.comm	_BC_FLG_BUSY,4,2                ; @BC_FLG_BUSY
	.comm	_ISAR_HIS_SDATA,4,2             ; @ISAR_HIS_SDATA
	.comm	_BC_FLG_LL_OK,4,2               ; @BC_FLG_LL_OK
	.comm	_B_LL_CONNECT,4,2               ; @B_LL_CONNECT
	.comm	_B_XMTBUFREADY,4,2              ; @B_XMTBUFREADY
	.no_dead_strip	_send_frames
.subsections_via_symbols
