	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_csrs
_load_csrs:                             ## @load_csrs
	.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	%rdi, %rbx
	xorl	%r14d, %r14d
	cmpq	$0, 24(%rdi)
	jne	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	callq	_LANCE_ADDR
	movl	%eax, %r14d
LBB0_2:
	movq	_LE_CSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RAP@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writew
	movzwl	%r14w, %edi
	movq	_RDP@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writew
	movq	_LE_CSR2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writew
	sarl	$16, %r14d
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	movl	%r14d, %edi
	callq	_sbus_writew
	movq	_LE_CSR3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writew
	movl	(%rbx), %edi
	movq	(%r12), %rsi
	addq	8(%rbx), %rsi
	callq	_sbus_writew
	movq	_LE_CSR0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rsi
	addq	8(%rbx), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sbus_writew                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LE_CSR1,4,2                    ## @LE_CSR1
	.comm	_RAP,8,3                        ## @RAP
	.comm	_RDP,8,3                        ## @RDP
	.comm	_LE_CSR2,4,2                    ## @LE_CSR2
	.comm	_LE_CSR3,4,2                    ## @LE_CSR3
	.comm	_LE_CSR0,4,2                    ## @LE_CSR0
	.no_dead_strip	_load_csrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_csrs
_load_csrs:                             ; @load_csrs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #16]
	bl	_LANCE_ADDR
	mov	x20, x0
LBB0_3:
Lloh0:
	adrp	x8, _LE_CSR1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LE_CSR1@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x21, _RAP@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RAP@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_sbus_writew
	and	w0, w20, #0xffff
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x22, _RDP@GOTPAGE
Lloh6:
	ldr	x22, [x22, _RDP@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_sbus_writew
Lloh7:
	adrp	x8, _LE_CSR2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LE_CSR2@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_sbus_writew
	asr	w0, w20, #16
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_sbus_writew
Lloh10:
	adrp	x8, _LE_CSR3@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LE_CSR3@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_sbus_writew
	ldr	w0, [x19]
	ldr	x8, [x19, #8]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_sbus_writew
Lloh13:
	adrp	x8, _LE_CSR0@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LE_CSR0@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sbus_writew
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LE_CSR1,4,2                    ; @LE_CSR1
	.comm	_RAP,8,3                        ; @RAP
	.comm	_RDP,8,3                        ; @RDP
	.comm	_LE_CSR2,4,2                    ; @LE_CSR2
	.comm	_LE_CSR3,4,2                    ; @LE_CSR3
	.comm	_LE_CSR0,4,2                    ; @LE_CSR0
	.no_dead_strip	_load_csrs
.subsections_via_symbols
