	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_id_store
_new_id_store:                          ## @new_id_store
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_to_pcmcia_drv
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-60(%rbp), %r10
	leaq	-56(%rbp), %r11
	leaq	-52(%rbp), %rax
	leaq	-64(%rbp), %r12
	leaq	-80(%rbp), %r13
	leaq	-88(%rbp), %r14
	leaq	L_.str(%rip), %rsi
	leaq	-120(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	leaq	-104(%rbp), %r8
	leaq	-96(%rbp), %r9
	movq	%rbx, %rdi
	pushq	%rax
	pushq	%r11
	pushq	%r10
	pushq	%r12
	pushq	%r13
	pushq	%r14
	callq	_sscanf
	addq	$48, %rsp
	cmpl	$5, %eax
	jg	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	movq	-120(%rbp), %rax
	movq	%rax, 56(%rbx)
	movq	-112(%rbp), %rax
	movq	%rax, 48(%rbx)
	movq	-104(%rbp), %rax
	movq	%rax, 40(%rbx)
	movq	-96(%rbp), %rax
	movq	%rax, 32(%rbx)
	movq	-88(%rbp), %rax
	movq	%rax, 24(%rbx)
	movq	-80(%rbp), %rax
	movq	%rax, 16(%rbx)
	movl	8(%rbx), %edi
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	leaq	4(%r14), %r12
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	%r14, %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r12, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	callq	_driver_attach
	testl	%eax, %eax
	cmovnel	%eax, %r15d
	jmp	LBB0_6
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%hx %hx %hx %hhx %hhx %hhx %x %x %x %x"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_new_id_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_id_store
_new_id_store:                          ; @new_id_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_to_pcmcia_drv
	mov	x20, x0
	stp	xzr, xzr, [x29, #-56]
	sub	x8, x29, #56
	add	x9, x8, #8
	orr	x10, x8, #0x4
	add	x11, x8, #12
	stp	x9, x11, [sp, #16]
	stp	x8, x10, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	sub	x2, x29, #64
	add	x3, sp, #72
	add	x4, sp, #64
	add	x5, sp, #56
	add	x6, sp, #48
	add	x7, sp, #40
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #5
	b.gt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldur	x8, [x29, #-64]
	ldr	x9, [sp, #72]
	stp	x9, x8, [x0, #48]
	ldp	x9, x8, [sp, #56]
	stp	x9, x8, [x0, #32]
	ldp	x9, x8, [sp, #40]
	stp	x9, x8, [x0, #16]
	ldr	w0, [x0, #8]
	sub	x1, x29, #56
	mov	w2, #16
	bl	_memcpy
	add	x22, x20, #4
	mov	x0, x22
	bl	_mutex_lock
	add	x1, x20, #8
	mov	x0, x21
	bl	_list_add_tail
	mov	x0, x22
	bl	_mutex_unlock
	mov	x0, x20
	bl	_driver_attach
	cmp	w0, #0
	csel	w0, w19, w0, eq
	b	LBB0_6
LBB0_4:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%hx %hx %hx %hhx %hhx %hhx %x %x %x %x"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_new_id_store
.subsections_via_symbols
