	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_amdgpu_atombios_encoder_get_dig_info ## -- Begin function amdgpu_atombios_encoder_get_dig_info
	.p2align	4, 0x90
_amdgpu_atombios_encoder_get_dig_info:  ## @amdgpu_atombios_encoder_get_dig_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r15d
	movq	_ENUM_ID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ENUM_ID_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	andl	%r15d, %ebx
	movl	%r14d, %ecx
	sarl	%cl, %ebx
	movabsq	$-4294967295, %rcx              ## imm = 0xFFFFFFFF00000001
	movq	%rcx, (%rax)
	xorl	%ecx, %ecx
	cmpl	$2, %ebx
	sete	%cl
	movl	%ecx, 8(%rax)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENUM_ID_MASK,4,2               ## @ENUM_ID_MASK
	.comm	_ENUM_ID_SHIFT,4,2              ## @ENUM_ID_SHIFT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function amdgpu_atombios_encoder_get_dig_info
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_amdgpu_atombios_encoder_get_dig_info
	.p2align	2
_amdgpu_atombios_encoder_get_dig_info:  ; @amdgpu_atombios_encoder_get_dig_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w19, [x0]
Lloh0:
	adrp	x8, _ENUM_ID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENUM_ID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _ENUM_ID_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENUM_ID_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #12
	bl	_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	and	w8, w20, w19
	asr	w8, w8, w21
Lloh9:
	adrp	x9, lCPI0_0@PAGE
Lloh10:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	cmp	w8, #2
	cset	w8, eq
	str	w8, [x0, #8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ENUM_ID_MASK,4,2               ; @ENUM_ID_MASK
	.comm	_ENUM_ID_SHIFT,4,2              ; @ENUM_ID_SHIFT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
