	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b32_relax_to_b16
_b32_relax_to_b16:                      ## @b32_relax_to_b16
	.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
	movq	%rdi, %rbx
	movl	4(%rdi), %r12d
	movl	8(%rdi), %edi
	addl	(%rbx), %r12d
	callq	_RELAX_OLD
	movl	8(%rbx), %edi
	callq	_RELAX_NEW
	movl	8(%rbx), %edi
	callq	_RELAX_OPT
	movl	%eax, %r15d
	movq	32(%rbx), %r14
	xorl	%r13d, %r13d
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	movl	(%rax), %r13d
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	movl	24(%rbx), %edi
	movq	_INSN_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_md_chars_to_number
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.5:
	movl	%eax, %ecx
	shrl	$6, %ecx
	andl	$1047552, %ecx                  ## imm = 0xFFC00
	andl	$1022, %eax                     ## imm = 0x3FE
	leal	(%rcx,%rax), %edx
	testl	$524288, %edx                   ## imm = 0x80000
	leal	-1048576(%rcx,%rax), %eax
	cmovel	%edx, %eax
	subl	%r12d, %r13d
	addl	%eax, %r13d
	movl	%r13d, %eax
	negl	%eax
	testl	$-2147483648, %r13d             ## imm = 0x80000000
	cmoveq	%r13, %rax
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.6:
	andl	$-256, %eax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:
	movq	%r14, %rdi
	callq	_S_IS_DEFINED
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_S_IS_COMMON
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_S_IS_EXTERNAL
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	movq	$0, 16(%rbx)
	movl	8(%rbx), %edi
	callq	_RELAX_OPT_CLEAR
	movl	%eax, 8(%rbx)
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INSN_SIZE,4,2                  ## @INSN_SIZE
	.no_dead_strip	_b32_relax_to_b16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b32_relax_to_b16
_b32_relax_to_b16:                      ; @b32_relax_to_b16
	.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	x19, x0
	ldp	w22, w23, [x0]
	ldr	w0, [x0, #8]
	bl	_RELAX_OLD
	ldr	w0, [x19, #8]
	bl	_RELAX_NEW
	ldr	w0, [x19, #8]
	bl	_RELAX_OPT
	mov	x21, x0
	ldr	x20, [x19, #32]
	cbz	x20, LBB0_3
; %bb.1:
	add	w22, w23, w22
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	w23, [x8]
	b	LBB0_5
LBB0_3:
	mov	w23, #0
	mov	w22, #0
	b	LBB0_5
LBB0_4:
	mov	w23, #0
LBB0_5:
	ldr	w0, [x19, #24]
Lloh0:
	adrp	x8, _INSN_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INSN_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_md_chars_to_number
	cbz	w21, LBB0_10
; %bb.6:
	ubfx	x8, x0, #6, #26
	and	w8, w8, #0xffc00
	and	w9, w0, #0x3fe
	orr	w8, w8, w9
	orr	w9, w8, #0xfff00000
	tst	w8, #0x80000
	csel	w8, w8, w9, eq
	sub	w9, w23, w22
	add	w8, w9, w8
	neg	w9, w8
	tst	x8, #0x80000000
	csel	x8, x8, x9, eq
	ldr	x9, [x20]
	and	x8, x8, #0xffffff00
	cmp	x9, #0
	ccmp	x8, #0, #0, ne
	b.ne	LBB0_10
; %bb.7:
	mov	x0, x20
	bl	_S_IS_DEFINED
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_S_IS_COMMON
	cbnz	w0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_S_IS_EXTERNAL
	cbz	w0, LBB0_11
LBB0_10:
	str	xzr, [x19, #16]
	ldr	w0, [x19, #8]
	bl	_RELAX_OPT_CLEAR
	str	w0, [x19, #8]
LBB0_11:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_INSN_SIZE,4,2                  ; @INSN_SIZE
	.no_dead_strip	_b32_relax_to_b16
.subsections_via_symbols
