	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_get_profile            ## -- Begin function ff_h264_get_profile
	.p2align	4, 0x90
_ff_h264_get_profile:                   ## @ff_h264_get_profile
	.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
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_2
## %bb.1:
	movl	4(%rdi), %ecx
	shll	$28, %ecx
	sarl	$31, %ecx
	movq	_FF_PROFILE_H264_INTRA@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	orl	%eax, %ecx
	movl	%ecx, %eax
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_2:
	cmpl	$131, %eax
	jne	LBB0_4
## %bb.3:
	movq	_FF_PROFILE_H264_CONSTRAINED@GOTPCREL(%rip), %rax
	movl	$131, %ecx
	movl	(%rax), %eax
	orl	%ecx, %eax
	testb	$2, 4(%rdi)
	cmovel	%ecx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_PROFILE_H264_CONSTRAINED,4,2 ## @FF_PROFILE_H264_CONSTRAINED
	.comm	_FF_PROFILE_H264_INTRA,4,2      ## @FF_PROFILE_H264_INTRA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_h264_get_profile            ; -- Begin function ff_h264_get_profile
	.p2align	2
_ff_h264_get_profile:                   ; @ff_h264_get_profile
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0]
	sub	w9, w0, #128
	cmp	w9, #3
	b.hs	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _FF_PROFILE_H264_INTRA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_PROFILE_H264_INTRA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldrb	w8, [x8, #4]
	lsl	w8, w8, #28
	and	w8, w9, w8, asr #31
	orr	w0, w8, w0
LBB0_2:
	ret
LBB0_3:
	cmp	w0, #131
	b.ne	LBB0_2
; %bb.4:
Lloh3:
	adrp	x9, _FF_PROFILE_H264_CONSTRAINED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FF_PROFILE_H264_CONSTRAINED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #131
	orr	w9, w9, w10
	ldrb	w8, [x8, #4]
	tst	w8, #0x2
	csel	w0, w10, w9, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_PROFILE_H264_CONSTRAINED,4,2 ; @FF_PROFILE_H264_CONSTRAINED
	.comm	_FF_PROFILE_H264_INTRA,4,2      ; @FF_PROFILE_H264_INTRA
.subsections_via_symbols
