	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vc4_txp_connector_mode_valid
_vc4_txp_connector_mode_valid:          ## @vc4_txp_connector_mode_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movl	(%rsi), %edx
	movq	_MODE_BAD_HVALUE@GOTPCREL(%rip), %rax
	cmpl	(%rcx), %edx
	jl	LBB0_6
## %bb.1:
	cmpl	4(%rcx), %edx
	jg	LBB0_6
## %bb.2:
	movl	4(%rsi), %eax
	cmpl	8(%rcx), %eax
	jl	LBB0_5
## %bb.3:
	cmpl	12(%rcx), %eax
	jle	LBB0_4
LBB0_5:
	movq	_MODE_BAD_VVALUE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_BAD_HVALUE,4,2            ## @MODE_BAD_HVALUE
	.comm	_MODE_BAD_VVALUE,4,2            ## @MODE_BAD_VVALUE
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_vc4_txp_connector_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc4_txp_connector_mode_valid
_vc4_txp_connector_mode_valid:          ; @vc4_txp_connector_mode_valid
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	w8, [x1]
	ldr	w10, [x9]
	cmp	w8, w10
	b.lt	LBB0_2
; %bb.1:
	ldr	w10, [x9, #4]
	cmp	w8, w10
	b.le	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _MODE_BAD_HVALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_BAD_HVALUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_3:
	ldr	w10, [x1, #4]
	ldr	w11, [x9, #8]
Lloh3:
	adrp	x8, _MODE_BAD_VVALUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODE_BAD_VVALUE@GOTPAGEOFF]
	cmp	w10, w11
	b.lt	LBB0_5
; %bb.4:
	ldr	w9, [x9, #12]
Lloh5:
	adrp	x11, _MODE_OK@GOTPAGE
Lloh6:
	ldr	x11, [x11, _MODE_OK@GOTPAGEOFF]
	cmp	w10, w9
	csel	x8, x8, x11, gt
LBB0_5:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_BAD_HVALUE,4,2            ; @MODE_BAD_HVALUE
	.comm	_MODE_BAD_VVALUE,4,2            ; @MODE_BAD_VVALUE
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_vc4_txp_connector_mode_valid
.subsections_via_symbols
