	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_update_free
_img_update_free:                       ## @img_update_free
	.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	_rbu_data@GOTPCREL(%rip), %rbx
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	16(%rbx), %rdx
	xorl	%esi, %esi
	callq	_memset
	cmpl	$1, (%rbx)
	jne	LBB0_3
## %bb.2:
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rdx
	movq	_dell_rbu_dmaaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_dma_free_coherent
	jmp	LBB0_4
LBB0_3:
	movq	24(%rbx), %rdi
	movl	4(%rbx), %esi
	callq	_free_pages
LBB0_4:
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rbu_data,32,3                  ## @rbu_data
	.comm	_dell_rbu_dmaaddr,4,2           ## @dell_rbu_dmaaddr
	.no_dead_strip	_img_update_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_update_free
_img_update_free:                       ; @img_update_free
	.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
Lloh0:
	adrp	x19, _rbu_data@GOTPAGE
Lloh1:
	ldr	x19, [x19, _rbu_data@GOTPAGEOFF]
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x2, [x19, #16]
	mov	w1, #0
	bl	_memset
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_3
; %bb.2:
	ldr	x1, [x19, #8]
	ldr	x2, [x19, #24]
Lloh2:
	adrp	x8, _dell_rbu_dmaaddr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dell_rbu_dmaaddr@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, #0
	bl	_dma_free_coherent
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #4]
	bl	_free_pages
LBB0_4:
	movi	d0, #0xffffffff00000000
	str	d0, [x19]
	stp	xzr, xzr, [x19, #16]
	str	xzr, [x19, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_rbu_data,32,3                  ; @rbu_data
	.comm	_dell_rbu_dmaaddr,4,2           ; @dell_rbu_dmaaddr
	.no_dead_strip	_img_update_free
.subsections_via_symbols
