	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sethvflip
_sethvflip:                             ## @sethvflip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	8(%rdi), %rax
	movq	_HFLIP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpl	$0, (%rax,%rcx,4)
	setne	%dl
	shll	$7, %edx
	movq	_VFLIP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%esi, %esi
	cmpl	$0, (%rax,%rcx,4)
	setne	%sil
	shll	$6, %esi
	addl	%esi, %edx
	addl	$10, %edx
	addq	$4, %rdi
	movl	$30, %esi
	popq	%rbp
	jmp	_i2c_w1                         ## TAILCALL
LBB0_7:
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rdi), %rax
	movq	_VFLIP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpl	$0, (%rax,%rcx,4)
	setne	%dl
	shll	$7, %edx
	orl	$6, %edx
	jmp	LBB0_4
LBB0_3:
	movq	8(%rdi), %rax
	movq	_VFLIP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	cmpl	$0, (%rax,%rcx,4)
	sete	%dl
	shll	$7, %edx
	orl	$2, %edx
LBB0_4:
	movl	$117, %esi
	popq	%rbp
	jmp	_i2c_w1                         ## TAILCALL
LBB0_2:
	movq	8(%rdi), %rax
	movq	_VFLIP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$1, (%rax,%rcx,4)
	movl	$25, %edx
	sbbl	$0, %edx
	movl	$1, %esi
	popq	%rbp
	jmp	_i2c_w1                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_VFLIP,8,3                      ## @VFLIP
	.comm	_HFLIP,8,3                      ## @HFLIP
	.no_dead_strip	_sethvflip
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sethvflip
_sethvflip:                             ; @sethvflip
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x0, #8]
Lloh2:
	adrp	x9, _HFLIP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HFLIP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	mov	w10, #138
	mov	w11, #10
	cmp	w9, #0
	csel	w9, w11, w10, eq
Lloh5:
	adrp	x10, _VFLIP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _VFLIP@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	orr	w10, w9, #0x40
	cmp	w8, #0
	csel	w2, w9, w10, eq
	add	x0, x0, #4
	mov	w1, #30
	b	_i2c_w1
LBB0_3:
	ret
LBB0_4:
	ldr	x8, [x0, #8]
Lloh8:
	adrp	x9, _VFLIP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VFLIP@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	mov	w9, #134
	mov	w10, #6
	b	LBB0_6
LBB0_5:
	ldr	x8, [x0, #8]
Lloh11:
	adrp	x9, _VFLIP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VFLIP@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	mov	w9, #2
	mov	w10, #130
LBB0_6:
	cmp	w8, #0
	csel	w2, w10, w9, eq
	mov	w1, #117
	b	_i2c_w1
LBB0_7:
	ldr	x8, [x0, #8]
Lloh14:
	adrp	x9, _VFLIP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VFLIP@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	mov	w8, #24
	cinc	w2, w8, ne
	mov	w1, #1
	b	_i2c_w1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_VFLIP,8,3                      ; @VFLIP
	.comm	_HFLIP,8,3                      ; @HFLIP
	.no_dead_strip	_sethvflip
.subsections_via_symbols
