	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsi_master_gpio_break
_fsi_master_gpio_break:                 ## @fsi_master_gpio_break
	.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	%esi, %ebx
	callq	_to_fsi_master_gpio
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_trace_fsi_master_gpio_break
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 8(%r14)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	_local_irq_save
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_set_sda_output
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_sda_out
	movq	_FSI_PRE_BREAK_CLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_clock_toggle
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sda_out
	movq	_FSI_BREAK_CLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_clock_toggle
	movq	%r14, %rdi
	callq	_echo_delay
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_sda_out
	movq	_FSI_POST_BREAK_CLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_clock_toggle
	callq	_local_irq_restore
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_last_address_update
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	$200, %edi
	callq	_udelay
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_FSI_PRE_BREAK_CLOCKS,4,2       ## @FSI_PRE_BREAK_CLOCKS
	.comm	_FSI_BREAK_CLOCKS,4,2           ## @FSI_BREAK_CLOCKS
	.comm	_FSI_POST_BREAK_CLOCKS,4,2      ## @FSI_POST_BREAK_CLOCKS
	.no_dead_strip	_fsi_master_gpio_break
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsi_master_gpio_break
_fsi_master_gpio_break:                 ; @fsi_master_gpio_break
	.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
	mov	x20, x1
	bl	_to_fsi_master_gpio
	cbz	w20, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x19, x0
	bl	_trace_fsi_master_gpio_break
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_mutex_unlock
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_local_irq_save
	mov	x0, x19
	mov	w1, #1
	bl	_set_sda_output
	mov	x0, x19
	mov	w1, #1
	bl	_sda_out
Lloh4:
	adrp	x8, _FSI_PRE_BREAK_CLOCKS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FSI_PRE_BREAK_CLOCKS@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_clock_toggle
	mov	x0, x19
	mov	w1, #0
	bl	_sda_out
Lloh7:
	adrp	x8, _FSI_BREAK_CLOCKS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FSI_BREAK_CLOCKS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_clock_toggle
	mov	x0, x19
	bl	_echo_delay
	mov	x0, x19
	mov	w1, #1
	bl	_sda_out
Lloh10:
	adrp	x8, _FSI_POST_BREAK_CLOCKS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FSI_POST_BREAK_CLOCKS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_clock_toggle
	bl	_local_irq_restore
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_last_address_update
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #200
	bl	_udelay
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_FSI_PRE_BREAK_CLOCKS,4,2       ; @FSI_PRE_BREAK_CLOCKS
	.comm	_FSI_BREAK_CLOCKS,4,2           ; @FSI_BREAK_CLOCKS
	.comm	_FSI_POST_BREAK_CLOCKS,4,2      ; @FSI_POST_BREAK_CLOCKS
	.no_dead_strip	_fsi_master_gpio_break
.subsections_via_symbols
