	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function identify_descriptor
_identify_descriptor:                   ## @identify_descriptor
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r12
	cmpq	$7, %rdx
	ja	LBB0_2
## %bb.1:
	addq	$4, %r12
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$8, %ecx
	movq	%r12, %rdi
	movq	%rbx, %rdx
	jmp	LBB0_4
LBB0_2:
	movq	%rsi, %r15
	movl	12(%rsi), %edi
	callq	_le16_to_cpu
	movq	%rax, %r14
	cmpq	%rbx, %rax
	jbe	LBB0_8
## %bb.3:
	addq	$4, %r12
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
LBB0_4:
	xorl	%eax, %eax
	callq	_dev_err
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	8(%r15), %eax
	movl	$12, %r13d
	leal	-130(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_11
## %bb.9:
	cmpq	%r13, %r14
	jae	LBB0_13
LBB0_10:
	addq	$4, %r12
	movl	8(%r15), %edi
	callq	_get_descriptor_type_string
	movslq	%eax, %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	movq	%r14, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_5
LBB0_11:
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.12:
	movq	(%r15), %rdi
	addq	$12, %rdi
	movl	$4, %esi
	callq	_ALIGN
	movq	%rax, %r13
	cmpq	%r13, %r14
	jb	LBB0_10
LBB0_13:
	jbe	LBB0_15
## %bb.14:
	leaq	4(%r12), %rbx
	movl	8(%r15), %edi
	callq	_get_descriptor_type_string
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_dev_warn
LBB0_15:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	%r14, (%rax)
	leaq	8(%r15), %rcx
	movq	%rcx, 8(%rax)
	movl	8(%r15), %ecx
	movl	%ecx, 16(%rax)
	addq	$20, %rax
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_list_add_tail
	movl	%r14d, %r15d
	jmp	LBB0_7
LBB0_17:
	movslq	%eax, %rdx
	addq	$4, %r12
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_5
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"manifest too small (%zu < %zu)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"descriptor too big (%zu > %zu)\n"

L_.str.2:                               ## @.str.2
	.asciz	"invalid descriptor type (%u)\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s descriptor too small (%zu < %zu)\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s descriptor size mismatch (want %zu got %zu)\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_identify_descriptor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function identify_descriptor
_identify_descriptor:                   ; @identify_descriptor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x20, x0
	cmp	x2, #7
	b.hi	LBB0_2
; %bb.1:
	add	x0, x20, #4
	mov	w8, #8
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	b	LBB0_14
LBB0_2:
	mov	x21, x1
	ldr	w0, [x1, #12]
	bl	_le16_to_cpu
	mov	x19, x0
	cmp	x0, x22
	b.ls	LBB0_4
; %bb.3:
	add	x0, x20, #4
	str	x22, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	b	LBB0_14
LBB0_4:
	ldr	w8, [x21, #8]
	sub	w9, w8, #130
	cmp	w9, #3
	b.hs	LBB0_7
; %bb.5:
	mov	w22, #12
	cmp	x19, x22
	b.hs	LBB0_9
LBB0_6:
	add	x20, x20, #4
	ldr	w0, [x21, #8]
	bl	_get_descriptor_type_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	stp	x19, x22, [sp]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	b	LBB0_14
LBB0_7:
	cmp	w8, #128
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [x21]
	add	x0, x8, #12
	mov	w1, #4
	bl	_ALIGN
	mov	x22, x0
	cmp	x19, x22
	b.lo	LBB0_6
LBB0_9:
	b.ls	LBB0_11
; %bb.10:
	add	x23, x20, #4
	ldr	w0, [x21, #8]
	bl	_get_descriptor_type_string
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	mov	x3, x22
	mov	x4, x19
	bl	_dev_warn
LBB0_11:
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_17
; %bb.12:
	ldr	w8, [x21, #8]!
	stp	x19, x21, [x0]
	str	w8, [x0, #16]
	add	x0, x0, #20
	mov	x1, x20
	bl	_list_add_tail
	b	LBB0_16
LBB0_13:
	sxtw	x2, w8
	add	x0, x20, #4
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	bl	_dev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_16:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"manifest too small (%zu < %zu)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"descriptor too big (%zu > %zu)\n"

l_.str.2:                               ; @.str.2
	.asciz	"invalid descriptor type (%u)\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s descriptor too small (%zu < %zu)\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s descriptor size mismatch (want %zu got %zu)\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_identify_descriptor
.subsections_via_symbols
