	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sfe4003_init_phy
_sfe4003_init_phy:                      ## @sfe4003_init_phy
	.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
	callq	_falcon_board
	cmpl	$2, (%rax)
	jg	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_2
LBB0_3:
	movq	_SFE4003_RED_LED_GPIO@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_TXC_GPIO_DIR_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_falcon_txc_set_gpio_dir
	movl	(%r14), %esi
	movq	_SFE4003_LED_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_falcon_txc_set_gpio_val        ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SFE4003_RED_LED_GPIO,4,2       ## @SFE4003_RED_LED_GPIO
	.comm	_TXC_GPIO_DIR_OUTPUT,4,2        ## @TXC_GPIO_DIR_OUTPUT
	.comm	_SFE4003_LED_OFF,4,2            ## @SFE4003_LED_OFF
	.no_dead_strip	_sfe4003_init_phy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sfe4003_init_phy
_sfe4003_init_phy:                      ; @sfe4003_init_phy
	.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
	bl	_falcon_board
	ldr	w8, [x0]
	cmp	w8, #2
	b.gt	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
LBB0_2:
Lloh0:
	adrp	x20, _SFE4003_RED_LED_GPIO@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SFE4003_RED_LED_GPIO@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _TXC_GPIO_DIR_OUTPUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TXC_GPIO_DIR_OUTPUT@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_falcon_txc_set_gpio_dir
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _SFE4003_LED_OFF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SFE4003_LED_OFF@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_falcon_txc_set_gpio_val
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SFE4003_RED_LED_GPIO,4,2       ; @SFE4003_RED_LED_GPIO
	.comm	_TXC_GPIO_DIR_OUTPUT,4,2        ; @TXC_GPIO_DIR_OUTPUT
	.comm	_SFE4003_LED_OFF,4,2            ; @SFE4003_LED_OFF
	.no_dead_strip	_sfe4003_init_phy
.subsections_via_symbols
