	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_parport_remove
_i2c_parport_remove:                    ## @i2c_parport_remove
	.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	_ara@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_parport_ctrl_irq@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	callq	_line_set
	movq	(%rbx), %rdi
	callq	_i2c_unregister_device
	movq	$0, (%rbx)
LBB0_2:
	movq	_parport_adapter@GOTPCREL(%rip), %rdi
	callq	_i2c_del_adapter
	movq	_adapter_parm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_type@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_4
## %bb.3:
	leaq	(%rax,%rcx,8), %rsi
	xorl	%edi, %edi
	callq	_line_set
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ara,8,3                        ## @ara
	.comm	_parport_ctrl_irq,8,3           ## @parport_ctrl_irq
	.comm	_parport_adapter,4,2            ## @parport_adapter
	.comm	_adapter_parm,8,3               ## @adapter_parm
	.comm	_type,8,3                       ## @type
	.no_dead_strip	_i2c_parport_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_parport_remove
_i2c_parport_remove:                    ; @i2c_parport_remove
	.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, _ara@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ara@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, _parport_ctrl_irq@GOTPAGE
Lloh3:
	ldr	x1, [x1, _parport_ctrl_irq@GOTPAGEOFF]
	mov	w0, #0
	bl	_line_set
	ldr	x0, [x19]
	bl	_i2c_unregister_device
	str	xzr, [x19]
LBB0_2:
Lloh4:
	adrp	x0, _parport_adapter@GOTPAGE
Lloh5:
	ldr	x0, [x0, _parport_adapter@GOTPAGEOFF]
	bl	_i2c_del_adapter
Lloh6:
	adrp	x8, _adapter_parm@GOTPAGE
Lloh7:
	ldr	x8, [x8, _adapter_parm@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _type@GOTPAGE
Lloh10:
	ldr	x9, [x9, _type@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #3
	ldr	x8, [x1]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_line_set
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ara,8,3                        ; @ara
	.comm	_parport_ctrl_irq,8,3           ; @parport_ctrl_irq
	.comm	_parport_adapter,4,2            ; @parport_adapter
	.comm	_adapter_parm,8,3               ; @adapter_parm
	.comm	_type,8,3                       ; @type
	.no_dead_strip	_i2c_parport_remove
.subsections_via_symbols
