	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_z8530_sync_close               ## -- Begin function z8530_sync_close
	.p2align	4, 0x90
_z8530_sync_close:                      ## @z8530_sync_close
	.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	%rsi, %rbx
	movl	(%rsi), %edi
	callq	_spin_lock_irqsave
	movq	_z8530_nop@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	_R0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_zsreg
	movq	_R3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	8(%rbx), %rax
	movl	(%rax,%rsi,4), %edx
	movq	%rbx, %rdi
	callq	_write_zsreg
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_z8530_rtsdtr
	movl	(%rbx), %edi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_z8530_nop,4,2                  ## @z8530_nop
	.comm	_R0,4,2                         ## @R0
	.comm	_R3,8,3                         ## @R3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_z8530_sync_close               ; -- Begin function z8530_sync_close
	.p2align	2
_z8530_sync_close:                      ; @z8530_sync_close
	.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
	ldr	w0, [x1]
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _z8530_nop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _z8530_nop@GOTPAGEOFF]
	stp	xzr, x8, [x19, #24]
	str	xzr, [x19, #16]
Lloh2:
	adrp	x8, _R0@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R0@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_read_zsreg
Lloh5:
	adrp	x8, _R3@GOTPAGE
Lloh6:
	ldr	x8, [x8, _R3@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x1, lsl #2]
	mov	x0, x19
	bl	_write_zsreg
	mov	x0, x19
	mov	w1, #0
	bl	_z8530_rtsdtr
	ldr	w0, [x19]
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_z8530_nop,4,2                  ; @z8530_nop
	.comm	_R0,4,2                         ; @R0
	.comm	_R3,8,3                         ; @R3
.subsections_via_symbols
