	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dibx000_reset_i2c_master       ## -- Begin function dibx000_reset_i2c_master
	.p2align	4, 0x90
_dibx000_reset_i2c_master:              ## @dibx000_reset_i2c_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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movl	$4, -56(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%rsi, -48(%rbp)
	movl	8(%rdi), %eax
	movl	%eax, -40(%rbp)
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_dibx000_i2c_gate_ctrl
	movl	4(%rbx), %edi
	leaq	-56(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	movl	$255, (%rbx)
	movq	_DIBX000_I2C_INTERFACE_TUNER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dibx000_i2c_select_interface
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DIBX000_I2C_INTERFACE_TUNER,4,2 ## @DIBX000_I2C_INTERFACE_TUNER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dibx000_reset_i2c_master       ; -- Begin function dibx000_reset_i2c_master
	.p2align	2
_dibx000_reset_i2c_master:              ; @dibx000_reset_i2c_master
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w8, #4
	str	w8, [sp]
	add	x8, sp, #24
	str	x8, [sp, #8]
	ldr	w8, [x0, #8]
	str	w8, [sp, #16]
	add	x1, sp, #24
	mov	w2, #0
	mov	w3, #0
	bl	_dibx000_i2c_gate_ctrl
	ldr	w0, [x19, #4]
	mov	x1, sp
	mov	w2, #1
	bl	_i2c_transfer
	mov	w8, #255
	str	w8, [x19]
Lloh3:
	adrp	x8, _DIBX000_I2C_INTERFACE_TUNER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIBX000_I2C_INTERFACE_TUNER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_dibx000_i2c_select_interface
	ldur	x8, [x29, #-24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIBX000_I2C_INTERFACE_TUNER,4,2 ; @DIBX000_I2C_INTERFACE_TUNER
.subsections_via_symbols
