	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pnp_add_id                     ## -- Begin function pnp_add_id
	.p2align	4, 0x90
_pnp_add_id:                            ## @pnp_add_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movb	(%r15), %al
	movq	(%rbx), %rcx
	movb	%al, (%rcx)
	movb	1(%r15), %al
	movq	(%rbx), %rcx
	movb	%al, 1(%rcx)
	movb	2(%r15), %al
	movq	(%rbx), %rcx
	movb	%al, 2(%rcx)
	movsbl	3(%r15), %edi
	callq	_tolower
	movq	(%rbx), %rcx
	movb	%al, 3(%rcx)
	movsbl	4(%r15), %edi
	callq	_tolower
	movq	(%rbx), %rcx
	movb	%al, 4(%rcx)
	movsbl	5(%r15), %edi
	callq	_tolower
	movq	(%rbx), %rcx
	movb	%al, 5(%rcx)
	movsbl	6(%r15), %edi
	callq	_tolower
	movq	(%rbx), %rcx
	movb	%al, 6(%rcx)
	movq	(%rbx), %rax
	movb	$0, 7(%rax)
	movq	$0, 8(%rbx)
	movq	(%r14), %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.4:
	addq	$8, %rax
	movq	%rax, %r14
LBB0_5:
	movq	%rbx, (%r14)
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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
	.globl	_pnp_add_id                     ; -- Begin function pnp_add_id
	.p2align	2
_pnp_add_id:                            ; @pnp_add_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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.1:
	ldrb	w8, [x21]
	ldr	x9, [x20]
	strb	w8, [x9]
	ldrb	w8, [x21, #1]
	ldr	x9, [x20]
	strb	w8, [x9, #1]
	ldrb	w8, [x21, #2]
	ldr	x9, [x20]
	strb	w8, [x9, #2]
	ldrsb	w0, [x21, #3]
	bl	_tolower
	ldr	x8, [x20]
	strb	w0, [x8, #3]
	ldrsb	w0, [x21, #4]
	bl	_tolower
	ldr	x8, [x20]
	strb	w0, [x8, #4]
	ldrsb	w0, [x21, #5]
	bl	_tolower
	ldr	x8, [x20]
	strb	w0, [x8, #5]
	ldrsb	w0, [x21, #6]
	bl	_tolower
	ldr	x8, [x20]
	strb	w0, [x8, #6]
	ldr	x8, [x20]
	strb	wzr, [x8, #7]
	str	xzr, [x20, #8]
	ldr	x9, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x9
	ldr	x9, [x9, #8]
	cbnz	x9, LBB0_2
; %bb.4:
	add	x19, x8, #8
LBB0_5:
	str	x20, [x19]
LBB0_6:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
