	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_apply_fix                   ## -- Begin function md_apply_fix
	.p2align	4, 0x90
_md_apply_fix:                          ## @md_apply_fix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	(%rsi), %rsi
	movq	32(%rdi), %rax
	movslq	(%rdi), %rdx
	addq	(%rax), %rdx
	movq	$0, 24(%rdi)
	movl	4(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_stdoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_put_32
	jmp	LBB0_6
LBB0_5:
	movq	_stdoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%sil, %esi
	callq	_bfd_put_8
	jmp	LBB0_6
LBB0_2:
	movq	_stdoutput@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_put_16
LBB0_6:
	movl	$0, 8(%rbx)
	movq	16(%rbx), %rdi
	movl	12(%rbx), %eax
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.8:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.9:
	callq	_S_GET_SEGMENT
	cmpq	%r14, %rax
	jne	LBB0_11
LBB0_10:
	movl	$1, 8(%rbx)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_10
LBB0_4:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_stdoutput,4,2                  ## @stdoutput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_apply_fix                   ; -- Begin function md_apply_fix
	.p2align	2
_md_apply_fix:                          ; @md_apply_fix
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x1, [x1]
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	str	xzr, [x0, #24]
	ldp	w10, w9, [x0]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_11
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	add	x2, x8, x10
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _stdoutput@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_bfd_put_32
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _stdoutput@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	and	w1, w1, #0xff
	bl	_bfd_put_8
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _stdoutput@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_bfd_put_16
LBB0_5:
	str	wzr, [x19, #8]
	ldr	x0, [x19, #16]
	ldr	w8, [x19, #12]
	cbz	x0, LBB0_10
; %bb.6:
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.7:
	bl	_S_GET_SEGMENT
	cmp	x0, x20
	b.ne	LBB0_9
LBB0_8:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	cbnz	w8, LBB0_9
	b	LBB0_8
LBB0_11:
	bl	_abort
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_stdoutput,4,2                  ; @stdoutput
.subsections_via_symbols
