	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_i2c_get_features
_xgbe_i2c_get_features:                 ## @xgbe_i2c_get_features
	.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, %rbx
	movq	_IC_COMP_PARAM_1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_XI2C_IOREAD
	movl	%eax, %r14d
	movl	(%r15), %esi
	movq	_MAX_SPEED_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XI2C_GET_BITS
	movq	%rax, 24(%rbx)
	movl	(%r15), %esi
	movq	_RX_BUFFER_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XI2C_GET_BITS
	movq	%rax, 16(%rbx)
	movl	(%r15), %esi
	movq	_TX_BUFFER_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	callq	_XI2C_GET_BITS
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_netif_msg_probe
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movq	24(%rbx), %rcx
	movq	16(%rbx), %r9
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %r8
	pushq	8(%rbx)
	pushq	%rax
	callq	_dev_dbg
	addq	$24, %rsp
	jmp	LBB0_3
LBB0_2:
	addq	$8, %rsp
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IC_COMP_PARAM_1,4,2            ## @IC_COMP_PARAM_1
	.comm	_MAX_SPEED_MODE,4,2             ## @MAX_SPEED_MODE
	.comm	_RX_BUFFER_DEPTH,4,2            ## @RX_BUFFER_DEPTH
	.comm	_TX_BUFFER_DEPTH,4,2            ## @TX_BUFFER_DEPTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C features: %s=%u, %s=%u, %s=%u\n"

L_.str.1:                               ## @.str.1
	.asciz	"MAX_SPEED_MODE"

L_.str.2:                               ## @.str.2
	.asciz	"RX_BUFFER_DEPTH"

L_.str.3:                               ## @.str.3
	.asciz	"TX_BUFFER_DEPTH"

	.no_dead_strip	_xgbe_i2c_get_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_i2c_get_features
_xgbe_i2c_get_features:                 ; @xgbe_i2c_get_features
	.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_COMP_PARAM_1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IC_COMP_PARAM_1@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_XI2C_IOREAD
	mov	x20, x0
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _MAX_SPEED_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_SPEED_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_XI2C_GET_BITS
	str	x0, [x19, #24]
	ldr	w1, [x21]
Lloh5:
	adrp	x8, _RX_BUFFER_DEPTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RX_BUFFER_DEPTH@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XI2C_GET_BITS
	str	x0, [x19, #16]
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _TX_BUFFER_DEPTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TX_BUFFER_DEPTH@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_XI2C_GET_BITS
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_netif_msg_probe
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	ldp	x5, x3, [x19, #16]
	ldr	x7, [x19, #8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh15:
	adrp	x4, l_.str.2@PAGE
Lloh16:
	add	x4, x4, l_.str.2@PAGEOFF
Lloh17:
	adrp	x6, l_.str.3@PAGE
Lloh18:
	add	x6, x6, l_.str.3@PAGEOFF
	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	_dev_dbg
LBB0_2:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IC_COMP_PARAM_1,4,2            ; @IC_COMP_PARAM_1
	.comm	_MAX_SPEED_MODE,4,2             ; @MAX_SPEED_MODE
	.comm	_RX_BUFFER_DEPTH,4,2            ; @RX_BUFFER_DEPTH
	.comm	_TX_BUFFER_DEPTH,4,2            ; @TX_BUFFER_DEPTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C features: %s=%u, %s=%u, %s=%u\n"

l_.str.1:                               ; @.str.1
	.asciz	"MAX_SPEED_MODE"

l_.str.2:                               ; @.str.2
	.asciz	"RX_BUFFER_DEPTH"

l_.str.3:                               ; @.str.3
	.asciz	"TX_BUFFER_DEPTH"

	.no_dead_strip	_xgbe_i2c_get_features
.subsections_via_symbols
