	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_93cx6_wren              ## -- Begin function eeprom_93cx6_wren
	.p2align	4, 0x90
_eeprom_93cx6_wren:                     ## @eeprom_93cx6_wren
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_eeprom_93cx6_startup
	testl	%r14d, %r14d
	jne	LBB0_1
## %bb.2:
	movq	_PCI_EEPROM_EWDS_OPCODE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PCI_EEPROM_EWEN_OPCODE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movslq	(%rbx), %rdx
	leal	-2(%rdx), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movq	_PCI_EEPROM_WIDTH_OPCODE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_eeprom_93cx6_write_bits
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_eeprom_93cx6_cleanup           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_EEPROM_EWEN_OPCODE,4,2     ## @PCI_EEPROM_EWEN_OPCODE
	.comm	_PCI_EEPROM_EWDS_OPCODE,4,2     ## @PCI_EEPROM_EWDS_OPCODE
	.comm	_PCI_EEPROM_WIDTH_OPCODE,8,3    ## @PCI_EEPROM_WIDTH_OPCODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_eeprom_93cx6_wren              ; -- Begin function eeprom_93cx6_wren
	.p2align	2
_eeprom_93cx6_wren:                     ; @eeprom_93cx6_wren
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_eeprom_93cx6_startup
Lloh0:
	adrp	x8, _PCI_EEPROM_EWEN_OPCODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCI_EEPROM_EWEN_OPCODE@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PCI_EEPROM_EWDS_OPCODE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PCI_EEPROM_EWDS_OPCODE@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	ldrsw	x9, [x20]
	sub	w10, w9, #2
	lsl	w1, w8, w10
Lloh4:
	adrp	x8, _PCI_EEPROM_WIDTH_OPCODE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PCI_EEPROM_WIDTH_OPCODE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	add	x2, x8, x9
	mov	x0, x20
	bl	_eeprom_93cx6_write_bits
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_eeprom_93cx6_cleanup
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_EEPROM_EWEN_OPCODE,4,2     ; @PCI_EEPROM_EWEN_OPCODE
	.comm	_PCI_EEPROM_EWDS_OPCODE,4,2     ; @PCI_EEPROM_EWDS_OPCODE
	.comm	_PCI_EEPROM_WIDTH_OPCODE,8,3    ; @PCI_EEPROM_WIDTH_OPCODE
.subsections_via_symbols
