	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb3_phys_id
_cxgb3_phys_id:                         ## @cxgb3_phys_id
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	(%rax), %r15
	leal	(%r14,%r14), %eax
	testl	%r14d, %r14d
	movl	$4, %r12d
	cmovnel	%eax, %r12d
	testl	%r12d, %r12d
	jle	LBB0_4
## %bb.1:
	decl	%r12d
	xorl	%ebx, %ebx
	movq	_A_T3DBG_GPIO_EN@GOTPCREL(%rip), %r14
	movq	_F_GPIO0_OUT_VAL@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movl	(%r13), %edx
	movl	%ebx, %ecx
	andl	$1, %ecx
	negl	%ecx
	andl	%edx, %ecx
	movq	%r15, %rdi
	callq	_t3_set_reg_field
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep_interruptible
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpl	%ebx, %r12d
	movl	%eax, %ebx
	jne	LBB0_2
LBB0_4:
	movq	_A_T3DBG_GPIO_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_F_GPIO0_OUT_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ecx, %edx
	callq	_t3_set_reg_field
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_T3DBG_GPIO_EN,4,2            ## @A_T3DBG_GPIO_EN
	.comm	_F_GPIO0_OUT_VAL,4,2            ## @F_GPIO0_OUT_VAL
	.no_dead_strip	_cxgb3_phys_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxgb3_phys_id
_cxgb3_phys_id:                         ; @cxgb3_phys_id
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	bl	_netdev_priv
	ldr	x19, [x0]
	lsl	w8, w20, #1
	mov	w9, #4
	cmp	w20, #0
	csel	w8, w9, w8, eq
Lloh0:
	adrp	x20, _A_T3DBG_GPIO_EN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _A_T3DBG_GPIO_EN@GOTPAGEOFF]
Lloh2:
	adrp	x21, _F_GPIO0_OUT_VAL@GOTPAGE
Lloh3:
	ldr	x21, [x21, _F_GPIO0_OUT_VAL@GOTPAGEOFF]
	subs	w22, w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	ldr	w2, [x21]
	sbfx	w8, w23, #0, #1
	and	w3, w8, w2
	mov	x0, x19
	bl	_t3_set_reg_field
	mov	w0, #500
	bl	_msleep_interruptible
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w23, #1
	cmp	w22, w23
	mov	x23, x8
	b.ne	LBB0_2
LBB0_4:
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	mov	x3, x2
	bl	_t3_set_reg_field
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_A_T3DBG_GPIO_EN,4,2            ; @A_T3DBG_GPIO_EN
	.comm	_F_GPIO0_OUT_VAL,4,2            ; @F_GPIO0_OUT_VAL
	.no_dead_strip	_cxgb3_phys_id
.subsections_via_symbols
