	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_section
_add_section:                           ## @add_section
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	(%rdi), %edi
	movl	%ecx, %esi
	callq	_r_io_desc_get
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	(%rbx), %rdi
	movq	8(%rbx), %rsi
	callq	_UT64_ADD_OVFCHK
	testq	%rax, %rax
	jne	LBB0_14
## %bb.2:
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_UT64_ADD_OVFCHK
	testq	%rax, %rax
	je	LBB0_3
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	16(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.4:
	movq	(%rbx), %rdx
	cmpq	%rdx, %r13
	jle	LBB0_7
## %bb.5:
	movl	(%r12), %edi
	addq	%r14, %rdx
	movq	%rbx, %rsi
	callq	_io_create_mem_map
	testl	%eax, %eax
	je	LBB0_14
## %bb.6:
	movq	(%rbx), %r13
LBB0_7:
	movq	32(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_r_str_newf
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movl	24(%rbx), %edx
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.9:
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.1(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	_R_PERM_X@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	orl	(%rax), %edx
	jmp	LBB0_12
LBB0_10:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_12:
	movl	(%r12), %edi
	movq	8(%rbx), %rcx
	movl	%r15d, %esi
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_r_io_map_add_batch
	testq	%rax, %rax
	je	LBB0_15
## %bb.13:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	jmp	LBB0_14
LBB0_15:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fmap.%s"

L_.str.1:                               ## @.str.1
	.asciz	"text"

	.comm	_R_PERM_X,4,2                   ## @R_PERM_X
	.no_dead_strip	_add_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_section
_add_section:                           ; @add_section
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x0]
	mov	x1, x3
	bl	_r_io_desc_get
	cbz	w0, LBB0_3
; %bb.1:
	ldp	x0, x1, [x21]
	bl	_UT64_ADD_OVFCHK
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x21]
	mov	x1, x19
	bl	_UT64_ADD_OVFCHK
	cbz	x0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x23, [x21, #16]
	cbz	x23, LBB0_3
; %bb.5:
	ldr	x8, [x21]
	cmp	x23, x8
	b.le	LBB0_8
; %bb.6:
	ldr	w0, [x22]
	add	x2, x8, x19
	mov	x1, x21
	bl	_io_create_mem_map
	cbz	w0, LBB0_3
; %bb.7:
	ldr	x23, [x21]
LBB0_8:
	ldr	x1, [x21, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_r_str_newf
	cbz	x0, LBB0_3
; %bb.9:
	mov	x24, x0
	ldr	w25, [x21, #24]
	ldr	x0, [x21, #32]
	cbz	x0, LBB0_12
; %bb.10:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_12
; %bb.11:
Lloh4:
	adrp	x8, _R_PERM_X@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R_PERM_X@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w25, w8, w25
LBB0_12:
	ldr	w0, [x22]
	ldr	x3, [x21, #8]
	mov	x1, x20
	mov	x2, x25
	mov	x4, x19
	mov	x5, x23
	bl	_r_io_map_add_batch
	cbz	x0, LBB0_14
; %bb.13:
	str	x24, [x0]
	b	LBB0_3
LBB0_14:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_free
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fmap.%s"

l_.str.1:                               ; @.str.1
	.asciz	"text"

	.comm	_R_PERM_X,4,2                   ; @R_PERM_X
	.no_dead_strip	_add_section
.subsections_via_symbols
