	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gth_output_set
_gth_output_set:                        ## @gth_output_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	%rdi, %r14
	testb	$4, %bl
	jne	LBB0_1
## %bb.2:
	movq	_REG_GTH_GTHOPT0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_REG_GTH_GTHOPT1@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %r12
	shll	$3, %ebx
	movq	(%r14), %rdi
	addq	%r12, %rdi
	callq	_ioread32
	movl	$255, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	notl	%edx
	shll	%cl, %r15d
	andl	%eax, %edx
	orl	%edx, %r15d
	addq	(%r14), %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_iowrite32                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GTH_GTHOPT1,8,3            ## @REG_GTH_GTHOPT1
	.comm	_REG_GTH_GTHOPT0,8,3            ## @REG_GTH_GTHOPT0
	.no_dead_strip	_gth_output_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gth_output_set
_gth_output_set:                        ; @gth_output_set
	.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	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x8, _REG_GTH_GTHOPT1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_GTH_GTHOPT1@GOTPAGEOFF]
Lloh2:
	adrp	x9, _REG_GTH_GTHOPT0@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_GTH_GTHOPT0@GOTPAGEOFF]
	tst	w1, #0x4
	csel	x8, x9, x8, eq
	ldr	x21, [x8]
	ubfiz	w22, w1, #3, #2
	ldr	x8, [x0]
	add	x0, x8, x21
	bl	_ioread32
	mov	w8, #255
	lsl	w8, w8, w22
	bic	w8, w0, w8
	lsl	w9, w19, w22
	orr	w0, w8, w9
	ldr	x8, [x20]
	add	x1, x8, x21
	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
	b	_iowrite32
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GTH_GTHOPT1,8,3            ; @REG_GTH_GTHOPT1
	.comm	_REG_GTH_GTHOPT0,8,3            ; @REG_GTH_GTHOPT0
	.no_dead_strip	_gth_output_set
.subsections_via_symbols
