	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8150_reset
_rtl8150_reset:                         ## @rtl8150_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$16, -36(%rbp)
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	leaq	-36(%rbp), %r14
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_set_registers
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_get_registers
	testb	$16, -36(%rbp)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%ebx
	jne	LBB0_1
## %bb.3:
	xorl	%ebx, %ebx
LBB0_4:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setg	%al
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.comm	_CR,4,2                         ## @CR
	.no_dead_strip	_rtl8150_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8150_reset
_rtl8150_reset:                         ; @rtl8150_reset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	mov	w8, #16
	str	w8, [sp, #12]
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x21, _CR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CR@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x3, sp, #12
	mov	w2, #1
	bl	_set_registers
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	add	x3, sp, #12
	mov	x0, x19
	mov	w2, #1
	bl	_get_registers
	ldrb	w8, [sp, #12]
	tbz	w8, #4, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	subs	w20, w20, #1
	b.ne	LBB0_1
LBB0_3:
	cmp	w20, #0
	cset	w0, gt
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.comm	_CR,4,2                         ; @CR
	.no_dead_strip	_rtl8150_reset
.subsections_via_symbols
