	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addr_range_store
_addr_range_store:                      ## @addr_range_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.3:
	movq	-40(%rbp), %rax
	cmpq	-32(%rbp), %rax
	jbe	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_lock
	movslq	8(%r14), %rax
	testb	$1, %al
	jne	LBB0_5
## %bb.6:
	movq	16(%r14), %rdx
	movq	(%rdx,%rax,8), %rcx
	movq	_ETM_ADDR_TYPE_NONE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_8
## %bb.7:
	cmpq	%rcx, 8(%rdx,%rax,8)
	je	LBB0_10
LBB0_8:
	movq	_ETM_ADDR_TYPE_RANGE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_5
## %bb.9:
	cmpq	%rcx, 8(%rdx,%rax,8)
	jne	LBB0_5
LBB0_10:
	leaq	1(%rax), %rsi
	movq	-40(%rbp), %rcx
	movq	24(%r14), %rdi
	movq	%rcx, (%rdi,%rax,8)
	movq	_ETM_ADDR_TYPE_RANGE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movq	%rbx, (%rdx,%rax,8)
	movq	-32(%rbp), %rbx
	movq	%rbx, (%rdi,%rsi,8)
	movq	(%rcx), %rdi
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	shrl	%ecx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movq	%rdi, (%rdx,%rsi,8)
	orl	%eax, 32(%r14)
	movq	%r14, %rdi
	callq	_spin_unlock
	jmp	LBB0_11
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock
	movq	_EPERM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subq	(%rax), %r15
LBB0_11:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lx %lx"

	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_EPERM,8,3                      ## @EPERM
	.comm	_ETM_ADDR_TYPE_NONE,8,3         ## @ETM_ADDR_TYPE_NONE
	.comm	_ETM_ADDR_TYPE_RANGE,8,3        ## @ETM_ADDR_TYPE_RANGE
	.no_dead_strip	_addr_range_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addr_range_store
_addr_range_store:                      ; @addr_range_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x21
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldp	x9, x8, [sp]
	cmp	x8, x9
	b.ls	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
	mov	x0, x20
	bl	_spin_lock
	ldrsw	x8, [x20, #8]
	tbnz	w8, #0, LBB0_10
; %bb.4:
	ldr	x9, [x20, #16]
	ldr	x11, [x9, x8, lsl #3]
Lloh4:
	adrp	x10, _ETM_ADDR_TYPE_NONE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _ETM_ADDR_TYPE_NONE@GOTPAGEOFF]
Lloh6:
	ldr	x12, [x10]
Lloh7:
	adrp	x10, _ETM_ADDR_TYPE_RANGE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ETM_ADDR_TYPE_RANGE@GOTPAGEOFF]
	cmp	x11, x12
	b.ne	LBB0_7
; %bb.5:
	add	w12, w8, #1
	ldr	x13, [x9, w12, sxtw #3]
	cmp	x13, x11
	b.ne	LBB0_7
; %bb.6:
	sxtw	x12, w12
	b	LBB0_9
LBB0_7:
	ldr	x12, [x10]
	cmp	x11, x12
	b.ne	LBB0_10
; %bb.8:
	add	x12, x8, #1
	ldr	x13, [x9, x12, lsl #3]
	cmp	x13, x11
	b.ne	LBB0_10
LBB0_9:
	ldr	x11, [sp, #8]
	ldr	x13, [x20, #24]
	lsl	x14, x8, #3
	str	x11, [x13, x14]
	ldr	x11, [x10]
	str	x11, [x9, x14]
	ldr	x11, [sp]
	lsl	x12, x12, #3
	str	x11, [x13, x12]
	ldr	x10, [x10]
	str	x10, [x9, x12]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	mov	w9, #1
	lsl	w8, w9, w8
	ldr	w9, [x20, #32]
	orr	w8, w9, w8
	str	w8, [x20, #32]
	mov	x0, x20
	bl	_spin_unlock
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	bl	_spin_unlock
Lloh9:
	adrp	x8, _EPERM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_11:
	ldr	x8, [x8]
	neg	x19, x8
LBB0_12:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lx %lx"

	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_EPERM,8,3                      ; @EPERM
	.comm	_ETM_ADDR_TYPE_NONE,8,3         ; @ETM_ADDR_TYPE_NONE
	.comm	_ETM_ADDR_TYPE_RANGE,8,3        ; @ETM_ADDR_TYPE_RANGE
	.no_dead_strip	_addr_range_store
.subsections_via_symbols
