	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stop_sync_sw
_stop_sync_sw:                          ## @stop_sync_sw
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_SCL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_bit_to_ddc
	movl	%r14d, %edi
	callq	_udelay
	movq	_SDA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_bit_to_ddc
	movl	%r14d, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_write_bit_to_ddc
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_wait_for_scl_high_sw
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	_SDA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_write_bit_to_ddc
	movl	%r14d, %edi
	callq	_udelay
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_read_bit_from_ddc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$1, %r15d
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %edi
	callq	_udelay
	movq	_SDA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_bit_from_ddc
	movl	$1, %r15d
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	callq	_udelay
	movq	_SDA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_read_bit_from_ddc
	xorl	%r15d, %r15d
	testq	%rax, %rax
	setne	%r15b
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCL,4,2                        ## @SCL
	.comm	_SDA,4,2                        ## @SDA
	.no_dead_strip	_stop_sync_sw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stop_sync_sw
_stop_sync_sw:                          ; @stop_sync_sw
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _SCL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SCL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_write_bit_to_ddc
	mov	x0, x20
	bl	_udelay
Lloh2:
	adrp	x22, _SDA@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SDA@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_write_bit_to_ddc
	mov	x0, x20
	bl	_udelay
	ldr	w1, [x23]
	mov	x0, x19
	mov	w2, #1
	bl	_write_bit_to_ddc
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_wait_for_scl_high_sw
	cbz	w0, LBB0_4
; %bb.1:
	ldr	w1, [x22]
	mov	w21, #1
	mov	x0, x19
	mov	w2, #1
	bl	_write_bit_to_ddc
	mov	x0, x20
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x19
	bl	_read_bit_from_ddc
	cbnz	x0, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x19
	bl	_read_bit_from_ddc
	cbz	x0, LBB0_5
; %bb.3:
	mov	w21, #1
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x19
	bl	_read_bit_from_ddc
	cmp	x0, #0
	cset	w21, ne
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SCL,4,2                        ; @SCL
	.comm	_SDA,4,2                        ; @SDA
	.no_dead_strip	_stop_sync_sw
.subsections_via_symbols
