	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_mux_del_adapters           ## -- Begin function i2c_mux_del_adapters
	.p2align	4, 0x90
_i2c_mux_del_adapters:                  ## @i2c_mux_del_adapters
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r13
	leaq	-80(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rcx
	leal	-1(%rax), %edx
	movl	%edx, (%r13)
	cltq
	movq	-8(%rcx,%rax,8), %r14
	movq	(%r14), %r12
	movq	8(%r14), %rbx
	movq	$0, -8(%rcx,%rax,8)
	movl	(%rbx), %ecx
	movq	%r15, %rdi
	movl	$20, %esi
	leaq	L_.str(%rip), %rdx
	callq	_snprintf
	movq	8(%r13), %rdi
	movq	%r15, %rsi
	callq	_sysfs_remove_link
	leaq	4(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_sysfs_remove_link
	movq	%r14, %rdi
	callq	_i2c_del_adapter
	movq	%r12, %rdi
	callq	_of_node_put
	movq	%rbx, %rdi
	callq	_kfree
	movl	(%r13), %eax
	testl	%eax, %eax
	jne	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"channel-%u"

L_.str.1:                               ## @.str.1
	.asciz	"mux_device"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_mux_del_adapters           ; -- Begin function i2c_mux_del_adapters
	.p2align	2
_i2c_mux_del_adapters:                  ; @i2c_mux_del_adapters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	sub	w8, w8, #1
	str	w8, [x19]
	sbfiz	x8, x8, #3, #32
	ldr	x22, [x9, x8]
	ldp	x24, x23, [x22]
	str	xzr, [x9, x8]
	mov	x25, x23
	ldr	w3, [x25], #4
	add	x0, sp, #4
	mov	w1, #20
	mov	x2, x20
	bl	_snprintf
	ldr	x0, [x19, #8]
	add	x1, sp, #4
	bl	_sysfs_remove_link
	mov	x0, x25
	mov	x1, x21
	bl	_sysfs_remove_link
	mov	x0, x22
	bl	_i2c_del_adapter
	mov	x0, x24
	bl	_of_node_put
	mov	x0, x23
	bl	_kfree
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
LBB0_3:
	ldr	x8, [sp, #24]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"channel-%u"

l_.str.1:                               ; @.str.1
	.asciz	"mux_device"

.subsections_via_symbols
