	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_i2c_set_mode
_xgbe_i2c_set_mode:                     ## @xgbe_i2c_set_mode
	.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	_IC_CON@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_XI2C_IOREAD
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	_MASTER_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$1, %ecx
	callq	_XI2C_SET_BITS
	movl	(%r15), %esi
	movq	_SLAVE_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$1, %ecx
	callq	_XI2C_SET_BITS
	movl	(%r15), %esi
	movq	_RESTART_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$1, %ecx
	callq	_XI2C_SET_BITS
	movl	(%r15), %esi
	movq	_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XGBE_STD_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_XI2C_SET_BITS
	movl	(%r15), %esi
	movq	_RX_FIFO_FULL_HOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movl	$1, %ecx
	callq	_XI2C_SET_BITS
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XI2C_IOWRITE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IC_CON,4,2                     ## @IC_CON
	.comm	_MASTER_MODE,4,2                ## @MASTER_MODE
	.comm	_SLAVE_DISABLE,4,2              ## @SLAVE_DISABLE
	.comm	_RESTART_EN,4,2                 ## @RESTART_EN
	.comm	_SPEED,4,2                      ## @SPEED
	.comm	_XGBE_STD_SPEED,4,2             ## @XGBE_STD_SPEED
	.comm	_RX_FIFO_FULL_HOLD,4,2          ## @RX_FIFO_FULL_HOLD
	.no_dead_strip	_xgbe_i2c_set_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_i2c_set_mode
_xgbe_i2c_set_mode:                     ; @xgbe_i2c_set_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _IC_CON@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IC_CON@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_XI2C_IOREAD
	mov	x20, x0
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _MASTER_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MASTER_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_XI2C_SET_BITS
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _SLAVE_DISABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SLAVE_DISABLE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #1
	bl	_XI2C_SET_BITS
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _RESTART_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RESTART_EN@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #1
	bl	_XI2C_SET_BITS
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _SPEED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SPEED@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _XGBE_STD_SPEED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XGBE_STD_SPEED@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_XI2C_SET_BITS
	ldr	w1, [x21]
Lloh17:
	adrp	x8, _RX_FIFO_FULL_HOLD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RX_FIFO_FULL_HOLD@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w3, #1
	bl	_XI2C_SET_BITS
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_XI2C_IOWRITE
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IC_CON,4,2                     ; @IC_CON
	.comm	_MASTER_MODE,4,2                ; @MASTER_MODE
	.comm	_SLAVE_DISABLE,4,2              ; @SLAVE_DISABLE
	.comm	_RESTART_EN,4,2                 ; @RESTART_EN
	.comm	_SPEED,4,2                      ; @SPEED
	.comm	_XGBE_STD_SPEED,4,2             ; @XGBE_STD_SPEED
	.comm	_RX_FIFO_FULL_HOLD,4,2          ; @RX_FIFO_FULL_HOLD
	.no_dead_strip	_xgbe_i2c_set_mode
.subsections_via_symbols
