	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_led_off                  ## -- Begin function e1000_led_off
	.p2align	4, 0x90
_e1000_led_off:                         ## @e1000_led_off
	.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, %r14
	movq	_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_e_dbg
	movl	(%r14), %eax
	leal	-129(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_1
## %bb.11:
	movq	_E1000_CTRL_SWDPIN0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	notl	%eax
	andl	%eax, %ebx
LBB0_4:
	movq	_E1000_CTRL_SWDPIO0@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_10:
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_ew32
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.2:
	movl	8(%r14), %ecx
	movq	_e1000_media_type_fiber@GOTPCREL(%rip), %rdx
	movq	_E1000_CTRL_SWDPIN0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	(%rdx), %ecx
	je	LBB0_3
## %bb.5:
	orl	%ebx, %eax
	movq	_E1000_CTRL_SWDPIO0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	movl	8(%r14), %eax
	movq	_e1000_media_type_fiber@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	_E1000_CTRL_SWDPIN0@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_4
LBB0_8:
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.9:
	movl	4(%r14), %ebx
	movq	_LEDCTL@GOTPCREL(%rip), %r15
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL,4,2                       ## @CTRL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"e1000_led_off"

	.comm	_E1000_CTRL_SWDPIN0,4,2         ## @E1000_CTRL_SWDPIN0
	.comm	_E1000_CTRL_SWDPIO0,4,2         ## @E1000_CTRL_SWDPIO0
	.comm	_e1000_media_type_fiber,4,2     ## @e1000_media_type_fiber
	.comm	_e1000_media_type_copper,4,2    ## @e1000_media_type_copper
	.comm	_LEDCTL,4,2                     ## @LEDCTL
	.comm	_E1000_SUCCESS,4,2              ## @E1000_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000_led_off                  ; -- Begin function e1000_led_off
	.p2align	2
_e1000_led_off:                         ; @e1000_led_off
	.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	x20, x0
Lloh0:
	adrp	x8, _CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_er32
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_e_dbg
	ldr	w8, [x20]
	sub	w9, w8, #129
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _E1000_CTRL_SWDPIN0@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_CTRL_SWDPIN0@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
LBB0_2:
	bic	w8, w19, w8
	b	LBB0_8
LBB0_3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _e1000_media_type_fiber@GOTPAGE
Lloh9:
	ldr	x8, [x8, _e1000_media_type_fiber@GOTPAGEOFF]
	ldr	w9, [x20, #8]
Lloh10:
	ldr	w10, [x8]
Lloh11:
	adrp	x8, _E1000_CTRL_SWDPIN0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E1000_CTRL_SWDPIN0@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w9, w10
	b.eq	LBB0_2
	b	LBB0_7
LBB0_5:
	ldr	w8, [x20, #8]
Lloh14:
	adrp	x9, _e1000_media_type_fiber@GOTPAGE
Lloh15:
	ldr	x9, [x9, _e1000_media_type_fiber@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.6:
Lloh17:
	adrp	x8, _E1000_CTRL_SWDPIN0@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E1000_CTRL_SWDPIN0@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
LBB0_7:
	orr	w8, w8, w19
LBB0_8:
Lloh20:
	adrp	x9, _E1000_CTRL_SWDPIO0@GOTPAGE
Lloh21:
	ldr	x9, [x9, _E1000_CTRL_SWDPIO0@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w19, w8, w9
LBB0_9:
Lloh23:
	adrp	x8, _CTRL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CTRL@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ew32
Lloh25:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh28:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh29:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.12:
	ldr	w19, [x20, #4]
Lloh31:
	adrp	x8, _LEDCTL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LEDCTL@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL,4,2                       ; @CTRL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"e1000_led_off"

	.comm	_E1000_CTRL_SWDPIN0,4,2         ; @E1000_CTRL_SWDPIN0
	.comm	_E1000_CTRL_SWDPIO0,4,2         ; @E1000_CTRL_SWDPIO0
	.comm	_e1000_media_type_fiber,4,2     ; @e1000_media_type_fiber
	.comm	_e1000_media_type_copper,4,2    ; @e1000_media_type_copper
	.comm	_LEDCTL,4,2                     ; @LEDCTL
	.comm	_E1000_SUCCESS,4,2              ; @E1000_SUCCESS
.subsections_via_symbols
