	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_videobus_dir
_set_videobus_dir:                      ## @set_videobus_dir
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movl	(%rdi), %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_3
## %bb.1:
	movq	_lml33dpath@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.2:
	movl	$5, %esi
	movl	$1, %edx
	popq	%rbp
	jmp	_GPIO                           ## TAILCALL
LBB0_3:
	movq	_ZR_GPIO_VID_DIR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rdi), %rdx
	movq	16(%rdi), %r8
	movl	(%rdx,%rcx,4), %esi
	xorl	%edx, %edx
	testl	%eax, %eax
	sete	%dl
	cmpl	$0, (%r8,%rcx,4)
	cmovel	%eax, %edx
	popq	%rbp
	jmp	_GPIO                           ## TAILCALL
LBB0_4:
	movl	$5, %esi
	movl	%eax, %edx
	popq	%rbp
	jmp	_GPIO                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lml33dpath,4,2                 ## @lml33dpath
	.comm	_ZR_GPIO_VID_DIR,8,3            ## @ZR_GPIO_VID_DIR
	.no_dead_strip	_set_videobus_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_videobus_dir
_set_videobus_dir:                      ; @set_videobus_dir
	.cfi_startproc
; %bb.0:
	mov	x2, x1
	ldr	w8, [x0]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _lml33dpath@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lml33dpath@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w1, #5
	mov	w2, #1
	b	_GPIO
LBB0_3:
Lloh3:
	adrp	x8, _ZR_GPIO_VID_DIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ZR_GPIO_VID_DIR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldp	x9, x10, [x0, #8]
	ldr	w1, [x9, x8]
	ldr	w8, [x10, x8]
	cmp	w2, #0
	cset	w9, eq
	cmp	w8, #0
	csel	w2, w2, w9, eq
	b	_GPIO
LBB0_4:
	mov	w1, #5
	b	_GPIO
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_lml33dpath,4,2                 ; @lml33dpath
	.comm	_ZR_GPIO_VID_DIR,8,3            ; @ZR_GPIO_VID_DIR
	.no_dead_strip	_set_videobus_dir
.subsections_via_symbols
