	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hrz_reset
_hrz_reset:                             ## @hrz_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CONTROL_0_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_rd_regl
	movl	%eax, %ebx
	movq	_RESET_HORIZON@GOTPCREL(%rip), %r12
	andl	(%r12), %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_wr_regl
	testl	%ebx, (%r12)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_rd_regl
	testl	%eax, (%r12)
	jne	LBB0_1
## %bb.2:
	movl	%eax, %ebx
LBB0_3:
	movq	_RESET_ATM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%ebx, %edx
	movq	_RESET_RX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_RESET_TX@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r15), %esi
	movq	_RESET_HOST@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r14, %rdi
	callq	_wr_regl
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr_regl                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTROL_0_REG,4,2              ## @CONTROL_0_REG
	.comm	_RESET_HORIZON,4,2              ## @RESET_HORIZON
	.comm	_RESET_ATM,4,2                  ## @RESET_ATM
	.comm	_RESET_RX,4,2                   ## @RESET_RX
	.comm	_RESET_TX,4,2                   ## @RESET_TX
	.comm	_RESET_HOST,4,2                 ## @RESET_HOST
	.no_dead_strip	_hrz_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hrz_reset
_hrz_reset:                             ; @hrz_reset
	.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, _CONTROL_0_REG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CONTROL_0_REG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_rd_regl
Lloh2:
	adrp	x22, _RESET_HORIZON@GOTPAGE
Lloh3:
	ldr	x22, [x22, _RESET_HORIZON@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w20, w8, w0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_wr_regl
	ldr	w8, [x22]
	tst	w8, w20
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rd_regl
	ldr	w8, [x22]
	tst	w8, w0
	b.ne	LBB0_1
; %bb.2:
	mov	x20, x0
LBB0_3:
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _RESET_ATM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RESET_ATM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w8, w8, w20
Lloh7:
	adrp	x9, _RESET_RX@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RESET_RX@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh10:
	adrp	x9, _RESET_TX@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RESET_TX@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh13:
	adrp	x9, _RESET_HOST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RESET_HOST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_wr_regl
	mov	w0, #1000
	bl	_udelay
	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	_wr_regl
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTROL_0_REG,4,2              ; @CONTROL_0_REG
	.comm	_RESET_HORIZON,4,2              ; @RESET_HORIZON
	.comm	_RESET_ATM,4,2                  ; @RESET_ATM
	.comm	_RESET_RX,4,2                   ; @RESET_RX
	.comm	_RESET_TX,4,2                   ; @RESET_TX
	.comm	_RESET_HOST,4,2                 ; @RESET_HOST
	.no_dead_strip	_hrz_reset
.subsections_via_symbols
