	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmac_clk_enable
_gmac_clk_enable:                       ## @gmac_clk_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	testl	%esi, %esi
	je	LBB0_20
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_25
## %bb.2:
	movq	_PHY_INTERFACE_MODE_RMII@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.3:
	movl	36(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	36(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_5:
	movl	32(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movl	32(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_7:
	movl	28(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	movl	28(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_9:
	movl	24(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movl	24(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_11:
	movl	20(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movl	20(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_13:
	movl	16(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movl	16(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_15:
	movl	12(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	12(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_17:
	movl	8(%rbx), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movl	8(%rbx), %edi
	callq	_clk_prepare_enable
LBB0_19:
	movl	$5, %edi
	callq	_mdelay
	movl	$1, %eax
	jmp	LBB0_24
LBB0_20:
	testl	%ecx, %ecx
	je	LBB0_25
## %bb.21:
	movq	_PHY_INTERFACE_MODE_RMII@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_23
## %bb.22:
	movl	36(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	32(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	28(%rbx), %edi
	callq	_clk_disable_unprepare
LBB0_23:
	movl	24(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	20(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	16(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	12(%rbx), %edi
	callq	_clk_disable_unprepare
	movl	8(%rbx), %edi
	callq	_clk_disable_unprepare
	xorl	%eax, %eax
LBB0_24:
	movl	%eax, 4(%rbx)
LBB0_25:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_INTERFACE_MODE_RMII,4,2    ## @PHY_INTERFACE_MODE_RMII
	.no_dead_strip	_gmac_clk_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmac_clk_enable
_gmac_clk_enable:                       ; @gmac_clk_enable
	.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
	ldp	w8, w9, [x0]
	cbz	w1, LBB0_20
; %bb.1:
	cbnz	w9, LBB0_25
; %bb.2:
Lloh0:
	adrp	x9, _PHY_INTERFACE_MODE_RMII@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_RMII@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.3:
	ldr	w0, [x19, #36]
	bl	_IS_ERR
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #36]
	bl	_clk_prepare_enable
LBB0_5:
	ldr	w0, [x19, #32]
	bl	_IS_ERR
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	w0, [x19, #32]
	bl	_clk_prepare_enable
LBB0_7:
	ldr	w0, [x19, #28]
	bl	_IS_ERR
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	w0, [x19, #28]
	bl	_clk_prepare_enable
LBB0_9:
	ldr	w0, [x19, #24]
	bl	_IS_ERR
	cbnz	w0, LBB0_11
; %bb.10:
	ldr	w0, [x19, #24]
	bl	_clk_prepare_enable
LBB0_11:
	ldr	w0, [x19, #20]
	bl	_IS_ERR
	cbnz	w0, LBB0_13
; %bb.12:
	ldr	w0, [x19, #20]
	bl	_clk_prepare_enable
LBB0_13:
	ldr	w0, [x19, #16]
	bl	_IS_ERR
	cbnz	w0, LBB0_15
; %bb.14:
	ldr	w0, [x19, #16]
	bl	_clk_prepare_enable
LBB0_15:
	ldr	w0, [x19, #12]
	bl	_IS_ERR
	cbnz	w0, LBB0_17
; %bb.16:
	ldr	w0, [x19, #12]
	bl	_clk_prepare_enable
LBB0_17:
	ldr	w0, [x19, #8]
	bl	_IS_ERR
	cbnz	w0, LBB0_19
; %bb.18:
	ldr	w0, [x19, #8]
	bl	_clk_prepare_enable
LBB0_19:
	mov	w0, #5
	bl	_mdelay
	mov	w8, #1
	b	LBB0_24
LBB0_20:
	cbz	w9, LBB0_25
; %bb.21:
Lloh3:
	adrp	x9, _PHY_INTERFACE_MODE_RMII@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_INTERFACE_MODE_RMII@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.22:
	ldr	w0, [x19, #36]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #32]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #28]
	bl	_clk_disable_unprepare
LBB0_23:
	ldr	w0, [x19, #24]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #20]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #16]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #12]
	bl	_clk_disable_unprepare
	ldr	w0, [x19, #8]
	bl	_clk_disable_unprepare
	mov	w8, #0
LBB0_24:
	str	w8, [x19, #4]
LBB0_25:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_INTERFACE_MODE_RMII,4,2    ; @PHY_INTERFACE_MODE_RMII
	.no_dead_strip	_gmac_clk_enable
.subsections_via_symbols
