	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_parport_detach
_i2c_parport_detach:                    ## @i2c_parport_detach
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_adapter_list@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movq	8(%rbx), %rax
	cmpq	%rdi, (%rax)
	je	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rbx), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_10
## %bb.4:
	leaq	8(%rbx), %r13
	jmp	LBB0_5
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	8(%rbx), %r13
	xorl	%r12d, %r12d
LBB0_5:
	leaq	16(%rbx), %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_7
## %bb.6:
	leaq	(%rax,%rcx,8), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_line_set
LBB0_7:
	movq	(%r13), %rdi
	callq	_parport_release
	movq	(%r13), %rdi
	callq	_parport_unregister_device
	movq	(%rbx), %rax
	testq	%r12, %r12
	jne	LBB0_9
## %bb.8:
	movq	%r15, %r12
LBB0_9:
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adapter_list,8,3               ## @adapter_list
	.comm	_adapter_parm,8,3               ## @adapter_parm
	.comm	_type,8,3                       ## @type
	.no_dead_strip	_i2c_parport_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_parport_detach
_i2c_parport_detach:                    ; @i2c_parport_detach
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _adapter_list@GOTPAGE
Lloh1:
	ldr	x21, [x21, _adapter_list@GOTPAGEOFF]
	ldr	x19, [x21]
	cbz	x19, LBB0_5
; %bb.1:
	mov	x20, x0
	mov	x23, x19
	ldr	x8, [x23, #8]!
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x19
	ldr	x19, [x19]
	cbz	x19, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.4:
	add	x23, x19, #8
	b	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x22, #0
LBB0_7:
	add	x0, x19, #16
	bl	_i2c_del_adapter
Lloh2:
	adrp	x8, _adapter_parm@GOTPAGE
Lloh3:
	ldr	x8, [x8, _adapter_parm@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _type@GOTPAGE
Lloh6:
	ldr	x9, [x9, _type@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #3
	ldr	x8, [x2]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x20
	mov	w1, #0
	bl	_line_set
LBB0_9:
	ldr	x0, [x23]
	bl	_parport_release
	ldr	x0, [x23]
	bl	_parport_unregister_device
	ldr	x8, [x19]
	cmp	x22, #0
	csel	x9, x21, x22, eq
	str	x8, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_adapter_list,8,3               ; @adapter_list
	.comm	_adapter_parm,8,3               ; @adapter_parm
	.comm	_type,8,3                       ; @type
	.no_dead_strip	_i2c_parport_detach
.subsections_via_symbols
