	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjust_z_magic
_adjust_z_magic:                        ## @adjust_z_magic
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	callq	_aout_backend_info
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 16(%r15)
	jne	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_obj_aout_subformat
	movq	_q_magic_format@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_3:
	movq	%r13, %rdi
	callq	_adata
	movq	%rax, %rbx
	movb	$1, %r14b
	jmp	LBB0_5
LBB0_4:
	movq	%r13, %rdi
	callq	_adata
	movq	%rax, %rbx
	shrq	$32, %rbx
	xorl	%r14d, %r14d
LBB0_5:
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	%ebx, (%rax)
	movq	%r13, %rdi
	callq	_obj_textsec
	cmpl	$0, 12(%rax)
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.9:
	movq	%r13, %rdi
	callq	_obj_textsec
	testb	%r14b, %r14b
	je	LBB0_11
## %bb.10:
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_obj_textsec
	subl	4(%rax), %ebx
	movq	%r13, %rdi
	callq	_adata
	movq	%rdx, %r12
	decl	%r12d
	andl	%ebx, %r12d
	jmp	LBB0_13
LBB0_6:
	movq	_HAS_RELOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_7
## %bb.12:
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	$0, 4(%rax)
	xorl	%r12d, %r12d
	testb	%r14b, %r14b
	je	LBB0_15
	jmp	LBB0_13
LBB0_11:
	xorl	%ebx, %ebx
	subl	4(%rax), %ebx
	movq	%r13, %rdi
	callq	_adata
	movq	%rdx, %r12
	decl	%r12d
	andl	%ebx, %r12d
LBB0_15:
	movq	%r13, %rdi
	callq	_obj_textsec
	movslq	8(%rax), %r14
	movq	%r13, %rdi
	callq	_adata
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_BFD_ALIGN
	movq	%rax, %rbx
	subq	%r14, %rbx
	movq	%r13, %rdi
	callq	_obj_textsec
	xorl	%r14d, %r14d
	jmp	LBB0_16
LBB0_7:
	movl	(%r15), %ebx
	movq	%r13, %rdi
	testb	%r14b, %r14b
	je	LBB0_14
## %bb.8:
	callq	_adata
	addl	%eax, %ebx
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	%ebx, 4(%rax)
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r13, %rdi
	callq	_obj_textsec
	movslq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_obj_textsec
	movslq	8(%rax), %r14
	addq	%rbx, %r14
	movq	%r13, %rdi
	callq	_adata
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_BFD_ALIGN
	movq	%rax, %rbx
	subq	%r14, %rbx
	movb	$1, %r14b
LBB0_16:
	addl	%r12d, %ebx
	movq	%r13, %rdi
	callq	_obj_textsec
	addl	%ebx, 8(%rax)
	movq	%r13, %rdi
	callq	_obj_datasec
	cmpl	$0, 12(%rax)
	jne	LBB0_18
## %bb.17:
	movq	%r13, %rdi
	callq	_obj_textsec
	movslq	4(%rax), %r12
	movq	%r13, %rdi
	callq	_obj_textsec
	movslq	8(%rax), %rbx
	addq	%r12, %rbx
	movq	%r13, %rdi
	callq	_adata
	shrq	$32, %rdx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_BFD_ALIGN
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	%ebx, 4(%rax)
LBB0_18:
	testq	%r15, %r15
	je	LBB0_22
## %bb.19:
	cmpq	$0, 8(%r15)
	je	LBB0_22
## %bb.20:
	movq	%r13, %rdi
	callq	_obj_textsec
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	4(%rax), %eax
	movl	8(%rbx), %ecx
	movl	4(%rbx), %edx
	addl	%ecx, %edx
	subl	%edx, %eax
	testl	%eax, %eax
	jle	LBB0_22
## %bb.21:
	addl	%ecx, %eax
	movl	%eax, 8(%rbx)
LBB0_22:
	movq	%r13, %rdi
	callq	_obj_textsec
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_obj_textsec
	addl	8(%rax), %ebx
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	%ebx, (%rax)
	movq	%r13, %rdi
	callq	_obj_textsec
	movslq	8(%rax), %rax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, (%r12)
	testb	%r14b, %r14b
	je	LBB0_26
## %bb.23:
	testq	%r15, %r15
	je	LBB0_25
## %bb.24:
	cmpl	$0, 4(%r15)
	jne	LBB0_26
LBB0_25:
	movq	%r13, %rdi
	callq	_adata
	cltq
	addq	%rax, (%r12)
LBB0_26:
	movq	%r13, %rdi
	callq	_obj_aout_subformat
	movq	_q_magic_format@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.28:
	movq	_QMAGIC@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_27:
	movq	_ZMAGIC@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %edi
	movq	16(%r12), %rax
	movq	%rax, 16(%rsp)
	movups	(%r12), %xmm0
	movups	%xmm0, (%rsp)
	callq	_N_SET_MAGIC
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	8(%rax), %rbx
	movq	%r13, %rdi
	callq	_obj_bsssec
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_align_power
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_obj_datasec
	movl	%ebx, 8(%rax)
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	8(%rax), %rbx
	movq	%r13, %rdi
	callq	_adata
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_BFD_ALIGN
	movq	%rax, %r15
	movq	%rax, 8(%r12)
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_obj_bsssec
	cmpl	$0, 20(%rax)
	jne	LBB0_31
## %bb.30:
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	4(%rax), %r12
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	8(%rax), %rbx
	addq	%r12, %rbx
	movq	%r13, %rdi
	callq	_obj_bsssec
	movq	%rbx, (%rax)
LBB0_31:
	movq	%r13, %rdi
	callq	_obj_bsssec
	movq	(%rax), %rbx
	movq	%r13, %rdi
	callq	_obj_bsssec
	movl	16(%rax), %esi
	movq	%rbx, %rdi
	callq	_align_power
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	4(%rax), %rbx
	movq	%r13, %rdi
	callq	_obj_datasec
	movslq	8(%rax), %r14
	addq	%rbx, %r14
	movq	%r13, %rdi
	callq	_obj_bsssec
	movq	8(%rax), %rax
	cmpq	%r14, %r12
	jne	LBB0_35
## %bb.32:
	subq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	cmpq	%rax, %r15
	jle	LBB0_34
## %bb.33:
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_34:
	movq	%r13, %rdi
	callq	_obj_bsssec
	movq	8(%rax), %rax
	subq	%r15, %rax
LBB0_35:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 16(%rcx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	_obj_textsec
	movl	%ebx, 4(%rax)
	xorl	%r12d, %r12d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_q_magic_format,8,3             ## @q_magic_format
	.comm	_HAS_RELOC,4,2                  ## @HAS_RELOC
	.comm	_QMAGIC,4,2                     ## @QMAGIC
	.comm	_ZMAGIC,4,2                     ## @ZMAGIC
	.no_dead_strip	_adjust_z_magic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjust_z_magic
_adjust_z_magic:                        ; @adjust_z_magic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	bl	_aout_backend_info
	mov	x21, x0
Lloh0:
	adrp	x23, _q_magic_format@GOTPAGE
Lloh1:
	ldr	x23, [x23, _q_magic_format@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x21, #16]
	cbnz	x8, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_obj_aout_subformat
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_3:
	mov	x0, x20
	bl	_adata
	mov	x22, x0
	mov	w24, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_adata
	mov	w24, #0
	lsr	x22, x0, #32
LBB0_5:
	mov	x0, x20
	bl	_obj_textsec
	str	w22, [x0]
	mov	x0, x20
	bl	_obj_textsec
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_obj_textsec
	cbz	w24, LBB0_10
; %bb.7:
	ldr	w22, [x0]
	mov	x0, x20
	bl	_obj_textsec
	ldr	w8, [x0, #4]
	sub	w22, w22, w8
	mov	x0, x20
	bl	_adata
	sub	w8, w1, #1
	and	w25, w8, w22
	b	LBB0_14
LBB0_8:
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _HAS_RELOC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HAS_RELOC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.9:
	mov	x0, x20
	bl	_obj_textsec
	mov	x25, #0
	str	wzr, [x0, #4]
	cbz	w24, LBB0_11
	b	LBB0_14
LBB0_10:
	ldr	w8, [x0, #4]
	neg	w22, w8
	mov	x0, x20
	bl	_adata
	sub	w8, w1, #1
	and	w25, w8, w22
LBB0_11:
	mov	x0, x20
	bl	_obj_textsec
	ldrsw	x22, [x0, #8]
	mov	x0, x20
	bl	_adata
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_BFD_ALIGN
	sub	x22, x0, x22
	mov	x0, x20
	bl	_obj_textsec
	mov	w24, #0
	b	LBB0_15
LBB0_12:
	ldr	w22, [x21]
	mov	x0, x20
	cbz	w24, LBB0_35
; %bb.13:
	bl	_adata
	add	w22, w22, w0
	mov	x0, x20
	bl	_obj_textsec
	mov	x25, #0
	str	w22, [x0, #4]
LBB0_14:
	mov	x0, x20
	bl	_obj_textsec
	ldrsw	x22, [x0]
	mov	x0, x20
	bl	_obj_textsec
	ldrsw	x8, [x0, #8]
	add	x22, x8, x22
	mov	x0, x20
	bl	_adata
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_BFD_ALIGN
	sub	x22, x0, x22
	mov	w24, #1
LBB0_15:
	add	w22, w22, w25
	mov	x0, x20
	bl	_obj_textsec
	ldr	w8, [x0, #8]
	add	w8, w8, w22
	str	w8, [x0, #8]
	mov	x0, x20
	bl	_obj_datasec
	ldr	w8, [x0, #12]
	cbnz	w8, LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_obj_textsec
	ldrsw	x22, [x0, #4]
	mov	x0, x20
	bl	_obj_textsec
	ldrsw	x8, [x0, #8]
	add	x22, x8, x22
	mov	x0, x20
	bl	_adata
	lsr	x1, x1, #32
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_BFD_ALIGN
	mov	x22, x0
	mov	x0, x20
	bl	_obj_datasec
	str	w22, [x0, #4]
LBB0_17:
	cbz	x21, LBB0_21
; %bb.18:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_21
; %bb.19:
	mov	x0, x20
	bl	_obj_textsec
	mov	x22, x0
	mov	x0, x20
	bl	_obj_datasec
	ldr	w9, [x0, #4]
	ldp	w10, w8, [x22, #4]
	add	w10, w10, w8
	sub	w9, w9, w10
	cmp	w9, #1
	b.lt	LBB0_21
; %bb.20:
	add	w8, w9, w8
	str	w8, [x22, #8]
LBB0_21:
	mov	x0, x20
	bl	_obj_textsec
	ldr	w22, [x0]
	mov	x0, x20
	bl	_obj_textsec
	ldr	w8, [x0, #8]
	add	w22, w8, w22
	mov	x0, x20
	bl	_obj_datasec
	str	w22, [x0]
	mov	x0, x20
	bl	_obj_textsec
	ldrsw	x8, [x0, #8]
	str	x8, [x19]
	cbz	w24, LBB0_25
; %bb.22:
	cbz	x21, LBB0_24
; %bb.23:
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_25
LBB0_24:
	mov	x0, x20
	bl	_adata
	ldr	x8, [x19]
	add	x8, x8, w0, sxtw
	str	x8, [x19]
LBB0_25:
	mov	x0, x20
	bl	_obj_aout_subformat
	ldr	x8, [x23]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.26:
Lloh5:
	adrp	x8, _QMAGIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QMAGIC@GOTPAGEOFF]
	b	LBB0_28
LBB0_27:
Lloh7:
	adrp	x8, _ZMAGIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZMAGIC@GOTPAGEOFF]
LBB0_28:
	ldr	w1, [x8]
	ldr	q0, [x19]
	str	q0, [sp]
	ldr	x8, [x19, #16]
	str	x8, [sp, #16]
	mov	x0, sp
	bl	_N_SET_MAGIC
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x21, [x0, #8]
	mov	x0, x20
	bl	_obj_bsssec
	ldr	w1, [x0, #16]
	mov	x0, x21
	bl	_align_power
	mov	x21, x0
	mov	x0, x20
	bl	_obj_datasec
	str	w21, [x0, #8]
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x21, [x0, #8]
	mov	x0, x20
	bl	_adata
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_BFD_ALIGN
	mov	x21, x0
	str	x0, [x19, #8]
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x23, [x0, #8]
	mov	x0, x20
	bl	_obj_bsssec
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_30
; %bb.29:
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x22, [x0, #4]
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x8, [x0, #8]
	add	x22, x8, x22
	mov	x0, x20
	bl	_obj_bsssec
	str	x22, [x0]
LBB0_30:
	mov	x0, x20
	bl	_obj_bsssec
	ldr	x22, [x0]
	mov	x0, x20
	bl	_obj_bsssec
	ldr	w1, [x0, #16]
	mov	x0, x22
	bl	_align_power
	mov	x22, x0
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x24, [x0, #4]
	mov	x0, x20
	bl	_obj_datasec
	ldrsw	x8, [x0, #8]
	add	x24, x8, x24
	mov	x0, x20
	bl	_obj_bsssec
	ldr	x8, [x0, #8]
	cmp	x22, x24
	b.ne	LBB0_34
; %bb.31:
	sub	x21, x21, x23
	cmp	x21, x8
	b.le	LBB0_33
; %bb.32:
	mov	x8, #0
	b	LBB0_34
LBB0_33:
	mov	x0, x20
	bl	_obj_bsssec
	ldr	x8, [x0, #8]
	sub	x8, x8, x21
LBB0_34:
	str	x8, [x19, #16]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_35:
	bl	_obj_textsec
	mov	x25, #0
	str	w22, [x0, #4]
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_q_magic_format,8,3             ; @q_magic_format
	.comm	_HAS_RELOC,4,2                  ; @HAS_RELOC
	.comm	_QMAGIC,4,2                     ; @QMAGIC
	.comm	_ZMAGIC,4,2                     ; @ZMAGIC
	.no_dead_strip	_adjust_z_magic
.subsections_via_symbols
