	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_phy_sfp_put_mux
_xgbe_phy_sfp_put_mux:                  ## @xgbe_phy_sfp_put_mux
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	(%rdi), %rcx
	movq	(%rcx), %rdx
	movq	_XGBE_SFP_COMM_DIRECT@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	cmpq	(%rsi), %rdx
	je	LBB0_2
## %bb.1:
	movq	$0, -8(%rbp)
	movq	_XGBE_I2C_CMD_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movl	8(%rcx), %eax
	movl	%eax, -16(%rbp)
	movl	$8, -32(%rbp)
	leaq	-8(%rbp), %rax
	movq	%rax, -24(%rbp)
	leaq	-32(%rbp), %rsi
	callq	_xgbe_phy_i2c_xfer
LBB0_2:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XGBE_SFP_COMM_DIRECT,8,3       ## @XGBE_SFP_COMM_DIRECT
	.comm	_XGBE_I2C_CMD_WRITE,4,2         ## @XGBE_I2C_CMD_WRITE
	.no_dead_strip	_xgbe_phy_sfp_put_mux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_phy_sfp_put_mux
_xgbe_phy_sfp_put_mux:                  ; @xgbe_phy_sfp_put_mux
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _XGBE_SFP_COMM_DIRECT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _XGBE_SFP_COMM_DIRECT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	str	xzr, [sp]
Lloh3:
	adrp	x9, _XGBE_I2C_CMD_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XGBE_I2C_CMD_WRITE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [sp, #28]
	ldr	w8, [x8, #8]
	str	w8, [sp, #24]
	mov	w8, #8
	str	w8, [sp, #8]
	mov	x8, sp
	str	x8, [sp, #16]
	add	x1, sp, #8
	bl	_xgbe_phy_i2c_xfer
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XGBE_SFP_COMM_DIRECT,8,3       ; @XGBE_SFP_COMM_DIRECT
	.comm	_XGBE_I2C_CMD_WRITE,4,2         ; @XGBE_I2C_CMD_WRITE
	.no_dead_strip	_xgbe_phy_sfp_put_mux
.subsections_via_symbols
