	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_er32
	movl	(%rbx), %ecx
	leal	-129(%rcx), %edx
	cmpl	$3, %edx
	jae	LBB0_1
## %bb.11:
	movq	_E1000_CTRL_SWDPIN0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_3:
	notl	%ecx
	andl	%ecx, %eax
LBB0_4:
	movq	_E1000_CTRL_SWDPIO0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_10:
	movl	(%r14), %edi
	movl	%eax, %esi
	callq	_ew32
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	cmpl	$128, %ecx
	jne	LBB0_6
## %bb.2:
	movl	8(%rbx), %edx
	movq	_e1000_media_type_fiber@GOTPCREL(%rip), %rsi
	movq	_E1000_CTRL_SWDPIN0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	(%rsi), %edx
	je	LBB0_3
## %bb.5:
	orl	%eax, %ecx
	movq	_E1000_CTRL_SWDPIO0@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, %eax
	jmp	LBB0_10
LBB0_6:
	movl	8(%rbx), %ecx
	movq	_e1000_media_type_fiber@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_8
## %bb.7:
	movq	_E1000_CTRL_SWDPIN0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_4
LBB0_8:
	movq	_e1000_media_type_copper@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_10
## %bb.9:
	movl	4(%rbx), %eax
	movq	_LEDCTL@GOTPCREL(%rip), %r14
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL,4,2                       ## @CTRL
	.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	x19, x0
Lloh0:
	adrp	x8, _CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_er32
	mov	x1, x0
	ldr	w8, [x19]
	sub	w9, w8, #129
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _E1000_CTRL_SWDPIN0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E1000_CTRL_SWDPIN0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_2:
	bic	w8, w1, w8
	b	LBB0_8
LBB0_3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _e1000_media_type_fiber@GOTPAGE
Lloh7:
	ldr	x8, [x8, _e1000_media_type_fiber@GOTPAGEOFF]
	ldr	w9, [x19, #8]
Lloh8:
	ldr	w10, [x8]
Lloh9:
	adrp	x8, _E1000_CTRL_SWDPIN0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000_CTRL_SWDPIN0@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w9, w10
	b.eq	LBB0_2
	b	LBB0_7
LBB0_5:
	ldr	w8, [x19, #8]
Lloh12:
	adrp	x9, _e1000_media_type_fiber@GOTPAGE
Lloh13:
	ldr	x9, [x9, _e1000_media_type_fiber@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.6:
Lloh15:
	adrp	x8, _E1000_CTRL_SWDPIN0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E1000_CTRL_SWDPIN0@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
LBB0_7:
	orr	w8, w8, w1
LBB0_8:
Lloh18:
	adrp	x9, _E1000_CTRL_SWDPIO0@GOTPAGE
Lloh19:
	ldr	x9, [x9, _E1000_CTRL_SWDPIO0@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w1, w8, w9
LBB0_9:
Lloh21:
	adrp	x8, _CTRL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CTRL@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	bl	_ew32
Lloh23:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh26:
	adrp	x9, _e1000_media_type_copper@GOTPAGE
Lloh27:
	ldr	x9, [x9, _e1000_media_type_copper@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.12:
	ldr	w1, [x19, #4]
Lloh29:
	adrp	x8, _LEDCTL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LEDCTL@GOTPAGEOFF]
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL,4,2                       ; @CTRL
	.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
