	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function syscon_write_emac_clk_reg
_syscon_write_emac_clk_reg:             ## @syscon_write_emac_clk_reg
	.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
	movl	%esi, %ebx
	callq	_device_get_softc
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	_EMAC_CLK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_SYSCON_WRITE_4                 ## TAILCALL
LBB0_1:
	movq	(%rax), %rax
	movq	__RES_SYSCON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.4:
	xorl	%esi, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bus_write_4                    ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_CLK_REG,4,2               ## @EMAC_CLK_REG
	.comm	__RES_SYSCON,8,3                ## @_RES_SYSCON
	.no_dead_strip	_syscon_write_emac_clk_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function syscon_write_emac_clk_reg
_syscon_write_emac_clk_reg:             ; @syscon_write_emac_clk_reg
	.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, x1
	bl	_device_get_softc
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EMAC_CLK_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMAC_CLK_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_SYSCON_WRITE_4
LBB0_2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, __RES_SYSCON@GOTPAGE
Lloh4:
	ldr	x9, [x9, __RES_SYSCON@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bus_write_4
LBB0_4:
	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	_EMAC_CLK_REG,4,2               ; @EMAC_CLK_REG
	.comm	__RES_SYSCON,8,3                ; @_RES_SYSCON
	.no_dead_strip	_syscon_write_emac_clk_reg
.subsections_via_symbols
