	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib9000_fw_memmbx_sync
_dib9000_fw_memmbx_sync:                ## @dib9000_fw_memmbx_sync
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -32(%rbp)
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movq	_FE_MM_RW_SYNC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	callq	_dib9000_risc_mem_write
	movl	(%r15), %esi
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.2:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.3:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.4:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.5:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.6:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.7:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.8:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.9:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.10:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	(%rbx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_12
## %bb.11:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_dib9000_risc_mem_read
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_MM_RW_SYNC,4,2              ## @FE_MM_RW_SYNC
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_dib9000_fw_memmbx_sync
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib9000_fw_memmbx_sync
_dib9000_fw_memmbx_sync:                ; @dib9000_fw_memmbx_sync
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	x1, [sp, #8]
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_12
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _FE_MM_RW_SYNC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FE_MM_RW_SYNC@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #8
	bl	_dib9000_risc_mem_write
	ldr	w1, [x20]
	ldr	x2, [x19]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.2:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.3:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.4:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.5:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.6:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.8:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
	ldr	x2, [x19]
	ldr	x8, [x2]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #1
	bl	_dib9000_risc_mem_read
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_MM_RW_SYNC,4,2              ; @FE_MM_RW_SYNC
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_dib9000_fw_memmbx_sync
.subsections_via_symbols
