	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_ir_ident
_img_ir_ident:                          ## @img_ir_ident
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_IMG_IR_CORE_REV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_img_ir_read
	movl	8(%r14), %edi
	movq	_IMG_IR_DESIGNER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_IMG_IR_DESIGNER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movq	_IMG_IR_MAJOR_REV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	movq	_IMG_IR_MAJOR_REV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %ebx
	movq	_IMG_IR_MINOR_REV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	andl	%eax, %r8d
	movq	_IMG_IR_MINOR_REV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %r8d
	movq	_IMG_IR_MAINT_REV@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IMG_IR_MAINT_REV_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_dev_info
	movl	8(%r14), %r15d
	leaq	4(%r14), %rdi
	callq	_img_ir_hw_enabled
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %r12
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%r12, %rbx
	movq	%r14, %rdi
	callq	_img_ir_raw_enabled
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%r12, %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMG_IR_CORE_REV,4,2            ## @IMG_IR_CORE_REV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IMG IR Decoder (%d.%d.%d.%d) probed successfully\n"

	.comm	_IMG_IR_DESIGNER,4,2            ## @IMG_IR_DESIGNER
	.comm	_IMG_IR_DESIGNER_SHIFT,4,2      ## @IMG_IR_DESIGNER_SHIFT
	.comm	_IMG_IR_MAJOR_REV,4,2           ## @IMG_IR_MAJOR_REV
	.comm	_IMG_IR_MAJOR_REV_SHIFT,4,2     ## @IMG_IR_MAJOR_REV_SHIFT
	.comm	_IMG_IR_MINOR_REV,4,2           ## @IMG_IR_MINOR_REV
	.comm	_IMG_IR_MINOR_REV_SHIFT,4,2     ## @IMG_IR_MINOR_REV_SHIFT
	.comm	_IMG_IR_MAINT_REV,4,2           ## @IMG_IR_MAINT_REV
	.comm	_IMG_IR_MAINT_REV_SHIFT,4,2     ## @IMG_IR_MAINT_REV_SHIFT
L_.str.1:                               ## @.str.1
	.asciz	"Modes:%s%s\n"

L_.str.2:                               ## @.str.2
	.asciz	" hardware"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	" raw"

	.no_dead_strip	_img_ir_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_ir_ident
_img_ir_ident:                          ; @img_ir_ident
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _IMG_IR_CORE_REV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IMG_IR_CORE_REV@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_img_ir_read
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x9, _IMG_IR_DESIGNER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IMG_IR_DESIGNER@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh6:
	adrp	x10, _IMG_IR_DESIGNER_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IMG_IR_DESIGNER_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	asr	w9, w9, w10
Lloh9:
	adrp	x10, _IMG_IR_MAJOR_REV@GOTPAGE
Lloh10:
	ldr	x10, [x10, _IMG_IR_MAJOR_REV@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	and	w10, w10, w0
Lloh12:
	adrp	x11, _IMG_IR_MAJOR_REV_SHIFT@GOTPAGE
Lloh13:
	ldr	x11, [x11, _IMG_IR_MAJOR_REV_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	asr	w10, w10, w11
Lloh15:
	adrp	x11, _IMG_IR_MINOR_REV@GOTPAGE
Lloh16:
	ldr	x11, [x11, _IMG_IR_MINOR_REV@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	and	w11, w11, w0
Lloh18:
	adrp	x12, _IMG_IR_MINOR_REV_SHIFT@GOTPAGE
Lloh19:
	ldr	x12, [x12, _IMG_IR_MINOR_REV_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w12, [x12]
	asr	w11, w11, w12
Lloh21:
	adrp	x12, _IMG_IR_MAINT_REV@GOTPAGE
Lloh22:
	ldr	x12, [x12, _IMG_IR_MAINT_REV@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	and	w12, w12, w0
Lloh24:
	adrp	x13, _IMG_IR_MAINT_REV_SHIFT@GOTPAGE
Lloh25:
	ldr	x13, [x13, _IMG_IR_MAINT_REV_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w13, [x13]
	asr	w12, w12, w13
	stp	x11, x12, [sp, #16]
	stp	x9, x10, [sp]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_dev_info
	ldr	w20, [x19, #8]
	add	x0, x19, #4
	bl	_img_ir_hw_enabled
Lloh29:
	adrp	x8, l_.str.2@PAGE
Lloh30:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh31:
	adrp	x21, l_.str.3@PAGE
Lloh32:
	add	x21, x21, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x22, x21, x8, eq
	mov	x0, x19
	bl	_img_ir_raw_enabled
Lloh33:
	adrp	x8, l_.str.4@PAGE
Lloh34:
	add	x8, x8, l_.str.4@PAGEOFF
	cmp	x0, #0
	csel	x8, x21, x8, eq
	stp	x22, x8, [sp]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.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_CORE_REV,4,2            ; @IMG_IR_CORE_REV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IMG IR Decoder (%d.%d.%d.%d) probed successfully\n"

	.comm	_IMG_IR_DESIGNER,4,2            ; @IMG_IR_DESIGNER
	.comm	_IMG_IR_DESIGNER_SHIFT,4,2      ; @IMG_IR_DESIGNER_SHIFT
	.comm	_IMG_IR_MAJOR_REV,4,2           ; @IMG_IR_MAJOR_REV
	.comm	_IMG_IR_MAJOR_REV_SHIFT,4,2     ; @IMG_IR_MAJOR_REV_SHIFT
	.comm	_IMG_IR_MINOR_REV,4,2           ; @IMG_IR_MINOR_REV
	.comm	_IMG_IR_MINOR_REV_SHIFT,4,2     ; @IMG_IR_MINOR_REV_SHIFT
	.comm	_IMG_IR_MAINT_REV,4,2           ; @IMG_IR_MAINT_REV
	.comm	_IMG_IR_MAINT_REV_SHIFT,4,2     ; @IMG_IR_MAINT_REV_SHIFT
l_.str.1:                               ; @.str.1
	.asciz	"Modes:%s%s\n"

l_.str.2:                               ; @.str.2
	.asciz	" hardware"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	" raw"

	.no_dead_strip	_img_ir_ident
.subsections_via_symbols
