	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_demux_deactivate_master
_i2c_demux_deactivate_master:           ## @i2c_demux_deactivate_master
	.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
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	addq	$16, %rdi
	callq	_i2c_del_adapter
	movq	8(%r14), %rax
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rdi
	callq	_i2c_put_adapter
	movq	8(%r14), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	callq	_of_changeset_revert
	movq	8(%r14), %rcx
	movq	$0, (%rcx,%rbx)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%r14)
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_i2c_demux_deactivate_master
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_demux_deactivate_master
_i2c_demux_deactivate_master:           ; @i2c_demux_deactivate_master
	.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
	ldr	w20, [x0]
	tbnz	w20, #31, LBB0_2
; %bb.1:
	mov	x19, x0
	add	x0, x0, #16
	bl	_i2c_del_adapter
	ldr	x8, [x19, #8]
	lsl	x20, x20, #4
	ldr	x0, [x8, x20]
	bl	_i2c_put_adapter
	ldr	x8, [x19, #8]
	add	x8, x8, x20
	add	x0, x8, #8
	bl	_of_changeset_revert
	ldr	x8, [x19, #8]
	str	xzr, [x8, x20]
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_i2c_demux_deactivate_master
.subsections_via_symbols
