	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_maps__set_kallsyms_ref_reloc_sym ## -- Begin function maps__set_kallsyms_ref_reloc_sym
	.p2align	4, 0x90
_maps__set_kallsyms_ref_reloc_sym:      ## @maps__set_kallsyms_ref_reloc_sym
	.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	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	$16, %edi
	callq	_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rdi
	movl	$93, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movb	$0, (%rax)
LBB0_6:
	movl	%r15d, (%r13)
	movq	_MAP__NR_TYPES@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	je	LBB0_7
## %bb.8:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rdi
	callq	_map__kmap
	movq	%r13, (%rax)
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jb	LBB0_9
	jmp	LBB0_10
LBB0_3:
	movq	%r13, %rdi
	callq	_free
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_10
LBB0_7:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MAP__NR_TYPES,4,2              ## @MAP__NR_TYPES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_maps__set_kallsyms_ref_reloc_sym ; -- Begin function maps__set_kallsyms_ref_reloc_sym
	.p2align	2
_maps__set_kallsyms_ref_reloc_sym:      ; @maps__set_kallsyms_ref_reloc_sym
	.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, x2
	mov	x22, x1
	mov	x19, x0
	mov	w0, #16
	bl	_zalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x0, x22
	bl	_strdup
	str	x0, [x20, #8]
	cbz	x0, LBB0_8
; %bb.2:
	mov	w1, #93
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.3:
	strb	wzr, [x0]
LBB0_4:
	str	w21, [x20]
Lloh0:
	adrp	x21, _MAP__NR_TYPES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAP__NR_TYPES@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_7
; %bb.5:
	mov	x22, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x22, lsl #3]
	bl	_map__kmap
	str	x20, [x0]
	add	x22, x22, #1
	ldr	w8, [x21]
	cmp	x22, x8
	b.lo	LBB0_6
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	bl	_free
LBB0_9:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MAP__NR_TYPES,4,2              ; @MAP__NR_TYPES
.subsections_via_symbols
