	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbp2_set_busy_timeout
_sbp2_set_busy_timeout:                 ## @sbp2_set_busy_timeout
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_target_device
	movq	%rax, %r14
	movq	_SBP2_CYCLE_LIMIT@GOTPCREL(%rip), %rax
	movq	_SBP2_RETRY_LIMIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_cpu_to_be32
	movl	%eax, -20(%rbp)
	movl	(%r14), %r8d
	movl	4(%r14), %edi
	movq	_TCODE_WRITE_QUADLET_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%rbx), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	_CSR_REGISTER_BASE@GOTPCREL(%rip), %rax
	movq	_CSR_BUSY_TIMEOUT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r9
	addq	(%rax), %r9
	leaq	-20(%rbp), %rax
	pushq	$4
	pushq	%rax
	callq	_fw_run_transaction
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SBP2_CYCLE_LIMIT,4,2           ## @SBP2_CYCLE_LIMIT
	.comm	_SBP2_RETRY_LIMIT,4,2           ## @SBP2_RETRY_LIMIT
	.comm	_TCODE_WRITE_QUADLET_REQUEST,4,2 ## @TCODE_WRITE_QUADLET_REQUEST
	.comm	_CSR_REGISTER_BASE,8,3          ## @CSR_REGISTER_BASE
	.comm	_CSR_BUSY_TIMEOUT,8,3           ## @CSR_BUSY_TIMEOUT
	.no_dead_strip	_sbp2_set_busy_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbp2_set_busy_timeout
_sbp2_set_busy_timeout:                 ; @sbp2_set_busy_timeout
	.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
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_target_device
	mov	x20, x0
Lloh0:
	adrp	x8, _SBP2_CYCLE_LIMIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SBP2_CYCLE_LIMIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SBP2_RETRY_LIMIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SBP2_RETRY_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_cpu_to_be32
	str	w0, [sp, #12]
Lloh6:
	adrp	x8, _TCODE_WRITE_QUADLET_REQUEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCODE_WRITE_QUADLET_REQUEST@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldr	w3, [x19]
Lloh9:
	adrp	x8, _CSR_REGISTER_BASE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CSR_REGISTER_BASE@GOTPAGEOFF]
	ldp	w4, w0, [x20]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _CSR_BUSY_TIMEOUT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _CSR_BUSY_TIMEOUT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x5, x9, x8
	add	x6, sp, #12
	mov	w7, #4
	bl	_fw_run_transaction
	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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SBP2_CYCLE_LIMIT,4,2           ; @SBP2_CYCLE_LIMIT
	.comm	_SBP2_RETRY_LIMIT,4,2           ; @SBP2_RETRY_LIMIT
	.comm	_TCODE_WRITE_QUADLET_REQUEST,4,2 ; @TCODE_WRITE_QUADLET_REQUEST
	.comm	_CSR_REGISTER_BASE,8,3          ; @CSR_REGISTER_BASE
	.comm	_CSR_BUSY_TIMEOUT,8,3           ; @CSR_BUSY_TIMEOUT
	.no_dead_strip	_sbp2_set_busy_timeout
.subsections_via_symbols
