	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_ir_control
_img_ir_control:                        ## @img_ir_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %r9d
	movq	_IMG_IR_CODETYPE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r9d
	xorl	%r8d, %r8d
	cmpq	$0, 80(%rdi)
	movl	$0, %eax
	je	LBB0_2
## %bb.1:
	movq	_IMG_IR_DECODEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	cmpq	$0, 72(%rdi)
	movl	$0, %esi
	je	LBB0_4
## %bb.3:
	movq	_IMG_IR_HDRTOG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_4:
	cmpq	$0, 64(%rdi)
	movl	$0, %r10d
	je	LBB0_6
## %bb.5:
	movq	_IMG_IR_LDRDEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
LBB0_6:
	cmpq	$0, 56(%rdi)
	movl	$0, %ecx
	je	LBB0_8
## %bb.7:
	movq	_IMG_IR_DECODINPOL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_8:
	cmpq	$0, 48(%rdi)
	movl	$0, %ebx
	je	LBB0_10
## %bb.9:
	movq	_IMG_IR_BITORIEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
LBB0_10:
	cmpq	$0, 40(%rdi)
	movl	$0, %r11d
	je	LBB0_12
## %bb.11:
	movq	_IMG_IR_D1VALIDSEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
LBB0_12:
	cmpq	$0, 32(%rdi)
	movl	$0, %edx
	je	LBB0_14
## %bb.13:
	movq	_IMG_IR_BITINV@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_14:
	orl	%r9d, %eax
	orl	%r10d, %esi
	orl	%ebx, %ecx
	cmpq	$0, 24(%rdi)
	movl	$0, %ebx
	je	LBB0_16
## %bb.15:
	movq	_IMG_IR_DECODEND2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
LBB0_16:
	orl	%ebx, %edx
	orl	%esi, %eax
	orl	%r11d, %ecx
	cmpq	$0, 16(%rdi)
	movl	$0, %esi
	je	LBB0_18
## %bb.17:
	movq	_IMG_IR_BITORIEND2@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_18:
	orl	%esi, %edx
	orl	%ecx, %eax
	cmpq	$0, 8(%rdi)
	je	LBB0_20
## %bb.19:
	movq	_IMG_IR_BITINVD2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
LBB0_20:
	orl	%r8d, %edx
	orl	%edx, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IMG_IR_CODETYPE_SHIFT,4,2      ## @IMG_IR_CODETYPE_SHIFT
	.comm	_IMG_IR_DECODEN,4,2             ## @IMG_IR_DECODEN
	.comm	_IMG_IR_HDRTOG,4,2              ## @IMG_IR_HDRTOG
	.comm	_IMG_IR_LDRDEC,4,2              ## @IMG_IR_LDRDEC
	.comm	_IMG_IR_DECODINPOL,4,2          ## @IMG_IR_DECODINPOL
	.comm	_IMG_IR_BITORIEN,4,2            ## @IMG_IR_BITORIEN
	.comm	_IMG_IR_D1VALIDSEL,4,2          ## @IMG_IR_D1VALIDSEL
	.comm	_IMG_IR_BITINV,4,2              ## @IMG_IR_BITINV
	.comm	_IMG_IR_DECODEND2,4,2           ## @IMG_IR_DECODEND2
	.comm	_IMG_IR_BITORIEND2,4,2          ## @IMG_IR_BITORIEND2
	.comm	_IMG_IR_BITINVD2,4,2            ## @IMG_IR_BITINVD2
	.no_dead_strip	_img_ir_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_ir_control
_img_ir_control:                        ; @img_ir_control
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IMG_IR_CODETYPE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMG_IR_CODETYPE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh3:
	adrp	x9, _IMG_IR_DECODEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMG_IR_DECODEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	x11, x10, [x0, #72]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IMG_IR_HDRTOG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IMG_IR_HDRTOG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IMG_IR_LDRDEC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IMG_IR_LDRDEC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldp	x11, x10, [x0, #56]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
Lloh12:
	adrp	x10, _IMG_IR_DECODINPOL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IMG_IR_DECODINPOL@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	ldp	x10, x9, [x0, #40]
	cmp	x9, #0
Lloh15:
	adrp	x9, _IMG_IR_BITORIEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IMG_IR_BITORIEN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IMG_IR_D1VALIDSEL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IMG_IR_D1VALIDSEL@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
	ldp	x10, x9, [x0, #24]
	cmp	x9, #0
Lloh21:
	adrp	x9, _IMG_IR_BITINV@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IMG_IR_BITINV@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _IMG_IR_DECODEND2@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IMG_IR_DECODEND2@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _IMG_IR_BITORIEND2@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IMG_IR_BITORIEND2@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	ldp	x11, x10, [x0, #8]
	cmp	x10, #0
	csel	w9, wzr, w9, eq
Lloh30:
	adrp	x10, _IMG_IR_BITINVD2@GOTPAGE
Lloh31:
	ldr	x10, [x10, _IMG_IR_BITINVD2@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh32:
	ldr	w9, [x10]
	cmp	x11, #0
	csel	w9, wzr, w9, eq
	orr	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IMG_IR_CODETYPE_SHIFT,4,2      ; @IMG_IR_CODETYPE_SHIFT
	.comm	_IMG_IR_DECODEN,4,2             ; @IMG_IR_DECODEN
	.comm	_IMG_IR_HDRTOG,4,2              ; @IMG_IR_HDRTOG
	.comm	_IMG_IR_LDRDEC,4,2              ; @IMG_IR_LDRDEC
	.comm	_IMG_IR_DECODINPOL,4,2          ; @IMG_IR_DECODINPOL
	.comm	_IMG_IR_BITORIEN,4,2            ; @IMG_IR_BITORIEN
	.comm	_IMG_IR_D1VALIDSEL,4,2          ; @IMG_IR_D1VALIDSEL
	.comm	_IMG_IR_BITINV,4,2              ; @IMG_IR_BITINV
	.comm	_IMG_IR_DECODEND2,4,2           ; @IMG_IR_DECODEND2
	.comm	_IMG_IR_BITORIEND2,4,2          ; @IMG_IR_BITORIEND2
	.comm	_IMG_IR_BITINVD2,4,2            ; @IMG_IR_BITINVD2
	.no_dead_strip	_img_ir_control
.subsections_via_symbols
