	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zt5550_hc_cleanup
_zt5550_hc_cleanup:                     ## @zt5550_hc_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_hc_dev@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	_hc_registers@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_iounmap
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_pci_resource_start
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_pci_resource_len
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_release_mem_region
	movl	(%r14), %edi
	callq	_pci_disable_device
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hc_dev,4,2                     ## @hc_dev
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_hc_registers,4,2               ## @hc_registers
	.no_dead_strip	_zt5550_hc_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zt5550_hc_cleanup
_zt5550_hc_cleanup:                     ; @zt5550_hc_cleanup
	.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	x20, _hc_dev@GOTPAGE
Lloh1:
	ldr	x20, [x20, _hc_dev@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _hc_registers@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hc_registers@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_iounmap
	ldr	w0, [x20]
	mov	w1, #1
	bl	_pci_resource_start
	mov	x19, x0
	ldr	w0, [x20]
	mov	w1, #1
	bl	_pci_resource_len
	mov	x1, x0
	mov	x0, x19
	bl	_release_mem_region
	ldr	w0, [x20]
	bl	_pci_disable_device
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _ENODEV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_hc_dev,4,2                     ; @hc_dev
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_hc_registers,4,2               ; @hc_registers
	.no_dead_strip	_zt5550_hc_cleanup
.subsections_via_symbols
