	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adb_iop_start
_adb_iop_start:                         ## @adb_iop_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	_current_req@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	callq	_local_irq_save
	movq	_ADB_IOP_EXPLICIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movl	(%rbx), %edx
	leal	-2(%rdx), %eax
	movl	%eax, -24(%rbp)
	leaq	-20(%rbp), %rdi
	movq	8(%rbx), %rsi
	addq	$8, %rsi
	decl	%edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	$1, 4(%rbx)
	movq	_sending@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_adb_iop_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	callq	_local_irq_restore
	movq	_ADB_IOP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ADB_CHAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_adb_iop_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-24(%rbp), %r8
	movq	%rbx, %rdx
	movl	$12, %ecx
	callq	_iop_send_message
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_req,8,3                ## @current_req
	.comm	_ADB_IOP_EXPLICIT,4,2           ## @ADB_IOP_EXPLICIT
	.comm	_sending,4,2                    ## @sending
	.comm	_adb_iop_state,4,2              ## @adb_iop_state
	.comm	_ADB_IOP,4,2                    ## @ADB_IOP
	.comm	_ADB_CHAN,4,2                   ## @ADB_CHAN
	.comm	_adb_iop_complete,4,2           ## @adb_iop_complete
	.no_dead_strip	_adb_iop_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adb_iop_start
_adb_iop_start:                         ; @adb_iop_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, _current_req@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_req@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	bl	_local_irq_save
Lloh3:
	adrp	x8, _ADB_IOP_EXPLICIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADB_IOP_EXPLICIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	sub	w10, w9, #2
	str	w8, [sp, #8]
	str	w10, [sp]
	mov	x8, sp
	orr	x0, x8, #0x4
	ldr	x8, [x19, #8]
	add	x1, x8, #8
	sub	w2, w9, #1
	bl	_memcpy
	mov	w8, #1
	str	w8, [x19, #4]
Lloh6:
	adrp	x8, _sending@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sending@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _adb_iop_state@GOTPAGE
Lloh10:
	ldr	x9, [x9, _adb_iop_state@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	bl	_local_irq_restore
Lloh12:
	adrp	x8, _ADB_IOP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADB_IOP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _ADB_CHAN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADB_CHAN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _adb_iop_complete@GOTPAGE
Lloh19:
	ldr	x8, [x8, _adb_iop_complete@GOTPAGEOFF]
Lloh20:
	ldr	w5, [x8]
	mov	x4, sp
	mov	x2, x19
	mov	w3, #12
	bl	_iop_send_message
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_current_req,8,3                ; @current_req
	.comm	_ADB_IOP_EXPLICIT,4,2           ; @ADB_IOP_EXPLICIT
	.comm	_sending,4,2                    ; @sending
	.comm	_adb_iop_state,4,2              ; @adb_iop_state
	.comm	_ADB_IOP,4,2                    ; @ADB_IOP
	.comm	_ADB_CHAN,4,2                   ; @ADB_CHAN
	.comm	_adb_iop_complete,4,2           ; @adb_iop_complete
	.no_dead_strip	_adb_iop_start
.subsections_via_symbols
