	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtd_concat_add
_mtd_concat_add:                        ## @mtd_concat_add
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpb	$0, _mtd_concat_add.registered(%rip)
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_concat_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, 8(%rax)
	cmpq	$0, (%rax)
	jne	LBB0_6
	jmp	LBB0_7
LBB0_2:
	movq	_concat_devs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, (%rcx)
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
LBB0_6:
	cmpq	$0, 8(%rax)
	je	LBB0_7
## %bb.8:
	movb	$1, _mtd_concat_add.registered(%rip)
	movq	_mtd_concat_add_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mtd_concat_work@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_INIT_WORK
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mtd_concat_add.registered,1,2 ## @mtd_concat_add.registered
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"spi0.0"

	.comm	_concat_devs,8,3                ## @concat_devs
L_.str.1:                               ## @.str.1
	.asciz	"spi0.1"

	.comm	_mtd_concat_work,4,2            ## @mtd_concat_work
	.comm	_mtd_concat_add_work,4,2        ## @mtd_concat_add_work
	.no_dead_strip	_mtd_concat_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtd_concat_add
_mtd_concat_add:                        ; @mtd_concat_add
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x20, _mtd_concat_add.registered@PAGE
	ldrb	w8, [x20, _mtd_concat_add.registered@PAGEOFF]
	tbnz	w8, #0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_7
; %bb.3:
Lloh4:
	adrp	x8, _concat_devs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _concat_devs@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x19, [x8, #8]
	ldr	x9, [x8]
	cbnz	x9, LBB0_5
	b	LBB0_7
LBB0_4:
Lloh7:
	adrp	x8, _concat_devs@GOTPAGE
Lloh8:
	ldr	x8, [x8, _concat_devs@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x19, [x9]
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_7
LBB0_5:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w8, #1
	strb	w8, [x20, _mtd_concat_add.registered@PAGEOFF]
Lloh9:
	adrp	x8, _mtd_concat_add_work@GOTPAGE
Lloh10:
	ldr	x8, [x8, _mtd_concat_add_work@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x19, _mtd_concat_work@GOTPAGE
Lloh13:
	ldr	x19, [x19, _mtd_concat_work@GOTPAGEOFF]
	mov	x0, x19
	bl	_INIT_WORK
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mtd_concat_add.registered,1,2 ; @mtd_concat_add.registered
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"spi0.0"

	.comm	_concat_devs,8,3                ; @concat_devs
l_.str.1:                               ; @.str.1
	.asciz	"spi0.1"

	.comm	_mtd_concat_work,4,2            ; @mtd_concat_work
	.comm	_mtd_concat_add_work,4,2        ; @mtd_concat_add_work
	.no_dead_strip	_mtd_concat_add
.subsections_via_symbols
