	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_cfg_io_cleanup
_fw_cfg_io_cleanup:                     ## @fw_cfg_io_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_fw_cfg_is_mmio@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_fw_cfg_dev_base@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	je	LBB0_2
## %bb.1:
	callq	_iounmap
	movq	_fw_cfg_p_base@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fw_cfg_p_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_release_mem_region             ## TAILCALL
LBB0_2:
	callq	_ioport_unmap
	movq	_fw_cfg_p_base@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fw_cfg_p_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_release_region                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_cfg_is_mmio,8,3             ## @fw_cfg_is_mmio
	.comm	_fw_cfg_dev_base,4,2            ## @fw_cfg_dev_base
	.comm	_fw_cfg_p_base,4,2              ## @fw_cfg_p_base
	.comm	_fw_cfg_p_size,4,2              ## @fw_cfg_p_size
	.no_dead_strip	_fw_cfg_io_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_cfg_io_cleanup
_fw_cfg_io_cleanup:                     ; @fw_cfg_io_cleanup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _fw_cfg_is_mmio@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fw_cfg_is_mmio@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _fw_cfg_dev_base@GOTPAGE
Lloh4:
	ldr	x9, [x9, _fw_cfg_dev_base@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_iounmap
Lloh6:
	adrp	x8, _fw_cfg_p_base@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fw_cfg_p_base@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _fw_cfg_p_size@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fw_cfg_p_size@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_release_mem_region
LBB0_2:
	bl	_ioport_unmap
Lloh12:
	adrp	x8, _fw_cfg_p_base@GOTPAGE
Lloh13:
	ldr	x8, [x8, _fw_cfg_p_base@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _fw_cfg_p_size@GOTPAGE
Lloh16:
	ldr	x8, [x8, _fw_cfg_p_size@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_release_region
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_cfg_is_mmio,8,3             ; @fw_cfg_is_mmio
	.comm	_fw_cfg_dev_base,4,2            ; @fw_cfg_dev_base
	.comm	_fw_cfg_p_base,4,2              ; @fw_cfg_p_base
	.comm	_fw_cfg_p_size,4,2              ; @fw_cfg_p_size
	.no_dead_strip	_fw_cfg_io_cleanup
.subsections_via_symbols
