	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixp2000_bit_setscl
_ixp2000_bit_setscl:                    ## @ixp2000_bit_setscl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	callq	_ixp2000_scl_pin
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.1:
	movq	_GPIO_IN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_gpio_line_config
	movl	$-5000, %ebx                    ## imm = 0xEC78
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_ixp2000_scl_pin
	movl	%eax, %edi
	callq	_gpio_line_get
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	testl	%ebx, %ebx
	movl	%eax, %ebx
	jne	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_GPIO_OUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gpio_line_config               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPIO_IN,4,2                    ## @GPIO_IN
	.comm	_GPIO_OUT,4,2                   ## @GPIO_OUT
	.no_dead_strip	_ixp2000_bit_setscl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixp2000_bit_setscl
_ixp2000_bit_setscl:                    ; @ixp2000_bit_setscl
	.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
	mov	x19, x0
	bl	_ixp2000_scl_pin
	cbz	w20, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _GPIO_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_IN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_gpio_line_config
	mov	w8, #-5000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	mov	x0, x19
	bl	_ixp2000_scl_pin
	bl	_gpio_line_get
	cbnz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w20, #1
	cbnz	w20, LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x8, _GPIO_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_OUT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gpio_line_config
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GPIO_IN,4,2                    ; @GPIO_IN
	.comm	_GPIO_OUT,4,2                   ; @GPIO_OUT
	.no_dead_strip	_ixp2000_bit_setscl
.subsections_via_symbols
