	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___dev_addr_add                 ## -- Begin function __dev_addr_add
	.p2align	4, 0x90
___dev_addr_add:                        ## @__dev_addr_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	%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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rbx
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edx
	movl	24(%rbx), %edi
	movq	%r15, %rsi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r13d, (%rbx)
	jne	LBB0_7
## %bb.4:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	movl	$1, 4(%rbx)
	jne	LBB0_12
LBB0_6:
	incl	8(%rbx)
	jmp	LBB0_11
LBB0_8:
	movq	%r14, %rbx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r14
	movl	24(%rax), %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movl	%r13d, (%r14)
	movl	$1, 8(%r14)
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	movl	%eax, 4(%r14)
	movq	(%r12), %rax
	movq	%rax, 16(%r14)
	movq	%r14, (%r12)
	incl	(%rbx)
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___dev_addr_add                 ; -- Begin function __dev_addr_add
	.p2align	2
___dev_addr_add:                        ; @__dev_addr_add
	.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	x20, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x24, [x0]
	cbnz	x24, LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x24, x0
	ldr	w0, [x0, #24]
	mov	x1, x23
	mov	x2, x22
	bl	_memcpy
	mov	w0, #0
	mov	w9, #1
	cmp	w20, #0
	cset	w8, ne
	str	w22, [x24]
	stp	w8, w9, [x24, #4]
	ldr	x8, [x21]
	str	x8, [x24, #16]
	str	x24, [x21]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x24, [x24, #16]
	cbz	x24, LBB0_1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #24]
	ldr	w2, [x24]
	mov	x1, x23
	bl	_memcmp
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	cmp	w8, w22
	b.ne	LBB0_3
; %bb.6:
	cbz	w20, LBB0_10
; %bb.7:
	ldr	w8, [x24, #4]
	mov	w9, #1
	str	w9, [x24, #4]
	cbz	w8, LBB0_10
; %bb.8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
	mov	w0, #0
	ldr	w8, [x24, #8]
	add	w8, w8, #1
	str	w8, [x24, #8]
LBB0_11:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
