	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assign_hw_id
_assign_hw_id:                          ## @assign_hw_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_lockdep_assert_held
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movq	___GFP_RETRY_MAYFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r12), %esi
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_new_hw_id
	movl	%eax, %ebx
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_steal_hw_id
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_new_hw_id
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_4
LBB0_3:
	movl	%ebx, (%r14)
	xorl	%ebx, %ebx
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_RETRY_MAYFAIL,4,2        ## @__GFP_RETRY_MAYFAIL
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.no_dead_strip	_assign_hw_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assign_hw_id
_assign_hw_id:                          ; @assign_hw_id
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_lockdep_assert_held
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, ___GFP_RETRY_MAYFAIL@GOTPAGE
Lloh3:
	ldr	x9, [x9, ___GFP_RETRY_MAYFAIL@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, ___GFP_NOWARN@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_new_hw_id
	mov	x21, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_steal_hw_id
	mov	x21, x0
	tbz	w0, #31, LBB0_3
; %bb.2:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_new_hw_id
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
LBB0_3:
	str	w21, [x19]
	mov	w21, #0
LBB0_4:
	mov	x0, x21
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_RETRY_MAYFAIL,4,2        ; @__GFP_RETRY_MAYFAIL
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.no_dead_strip	_assign_hw_id
.subsections_via_symbols
