	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_id
_get_id:                                ## @get_id
	.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	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kmalloc
	movq	%rax, %r12
	xorl	%eax, %eax
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	testl	%r13d, %r13d
	jle	LBB0_5
## %bb.2:
	movl	%r13d, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$255, (%rbx,%rax,4)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_5:
	cmpl	%r13d, %eax
	jne	LBB0_8
LBB0_6:
	movq	%r12, %rdi
	callq	_kfree
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_24
LBB0_8:
	movl	%eax, %ecx
	movl	(%rbx,%rcx,4), %edx
	testb	$-128, %dl
	jne	LBB0_10
## %bb.9:
	movl	$128, %esi
	xorl	%edi, %edi
	jmp	LBB0_23
LBB0_10:
	testb	$64, %dl
	jne	LBB0_12
## %bb.11:
	movl	$64, %esi
	movl	$1, %edi
	jmp	LBB0_23
LBB0_12:
	testb	$32, %dl
	jne	LBB0_14
## %bb.13:
	movl	$32, %esi
	movl	$2, %edi
	jmp	LBB0_23
LBB0_14:
	testb	$16, %dl
	jne	LBB0_16
## %bb.15:
	movl	$16, %esi
	movl	$3, %edi
	jmp	LBB0_23
LBB0_16:
	testb	$8, %dl
	jne	LBB0_18
## %bb.17:
	movl	$8, %esi
	movl	$4, %edi
	jmp	LBB0_23
LBB0_18:
	testb	$4, %dl
	jne	LBB0_20
## %bb.19:
	movl	$4, %esi
	movl	$5, %edi
	jmp	LBB0_23
LBB0_20:
	testb	$2, %dl
	jne	LBB0_22
## %bb.21:
	movl	$2, %esi
	movl	$6, %edi
	jmp	LBB0_23
LBB0_22:
	movl	%edx, %esi
	andl	$1, %esi
	leal	7(%rsi), %edi
	xorl	$1, %esi
LBB0_23:
	orl	%esi, %edx
	movl	%edx, (%rbx,%rcx,4)
	movl	%r15d, (%r12)
	andl	$15, %eax
	leal	(%rdi,%rax,8), %eax
	movl	%eax, 4(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_pti_control_frame_built_and_sent
LBB0_24:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_get_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_id
_get_id:                                ; @get_id
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kmalloc
	mov	x20, x0
	cbz	x0, LBB0_16
; %bb.1:
	cmp	w23, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x8, #0
	mov	w9, w23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x22, x8, lsl #2]
	cmp	w10, #255
	b.ne	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	mov	w8, #0
LBB0_6:
	cmp	w8, w23
	b.ne	LBB0_8
LBB0_7:
	mov	x0, x20
	bl	_kfree
	mov	x20, #0
	b	LBB0_16
LBB0_8:
	ldr	w10, [x22, w8, uxtw #2]
	mov	w9, w8
	tbnz	w10, #7, LBB0_10
; %bb.9:
	mov	w11, #0
	mov	w12, #128
	b	LBB0_15
LBB0_10:
	tbnz	w10, #6, LBB0_12
; %bb.11:
	mov	w12, #64
	mov	w11, #1
	b	LBB0_15
LBB0_12:
	tbnz	w10, #5, LBB0_14
; %bb.13:
	mov	w12, #32
	mov	w11, #2
	b	LBB0_15
LBB0_14:
	mov	w12, #16
	mov	w11, #3
	mov	w13, #8
	mov	w14, #4
	mov	w15, #4
	mov	w16, #5
	mov	w17, #2
	mov	w0, #6
	ands	w1, w10, #0x1
	mov	w2, #7
	cinc	w2, w2, ne
	eor	w1, w1, #0x1
	tst	w10, #0x2
	csel	w0, w0, w2, eq
	csel	w17, w17, w1, eq
	tst	w10, #0x4
	csel	w16, w16, w0, eq
	csel	w15, w15, w17, eq
	tst	w10, #0x8
	csel	w14, w14, w16, eq
	csel	w13, w13, w15, eq
	tst	w10, #0x10
	csel	w11, w11, w14, eq
	csel	w12, w12, w13, eq
LBB0_15:
	orr	w10, w10, w12
	str	w10, [x22, x9, lsl #2]
	ubfiz	w8, w8, #3, #4
	add	w8, w11, w8
	stp	w21, w8, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_pti_control_frame_built_and_sent
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_get_id
.subsections_via_symbols
