	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function z8530_rx_clear
_z8530_rx_clear:                        ## @z8530_rx_clear
	.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
	callq	_read_zsdata
	movq	_R1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_zsreg
	movq	_END_FR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_RES_Rx_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_zsctrl
LBB0_2:
	movq	_ERR_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_zsctrl
	movq	_RES_H_IUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_write_zsctrl                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_R1,4,2                         ## @R1
	.comm	_END_FR,4,2                     ## @END_FR
	.comm	_RES_Rx_CRC,4,2                 ## @RES_Rx_CRC
	.comm	_ERR_RES,4,2                    ## @ERR_RES
	.comm	_RES_H_IUS,4,2                  ## @RES_H_IUS
	.no_dead_strip	_z8530_rx_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function z8530_rx_clear
_z8530_rx_clear:                        ; @z8530_rx_clear
	.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
	bl	_read_zsdata
Lloh0:
	adrp	x8, _R1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _R1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_read_zsreg
Lloh3:
	adrp	x8, _END_FR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _END_FR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _RES_Rx_CRC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RES_Rx_CRC@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_zsctrl
LBB0_2:
Lloh9:
	adrp	x8, _ERR_RES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_RES@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_zsctrl
Lloh12:
	adrp	x8, _RES_H_IUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RES_H_IUS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_zsctrl
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_R1,4,2                         ; @R1
	.comm	_END_FR,4,2                     ; @END_FR
	.comm	_RES_Rx_CRC,4,2                 ; @RES_Rx_CRC
	.comm	_ERR_RES,4,2                    ; @ERR_RES
	.comm	_RES_H_IUS,4,2                  ; @RES_H_IUS
	.no_dead_strip	_z8530_rx_clear
.subsections_via_symbols
