	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_loopback
_set_loopback:                          ## @set_loopback
	.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
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_MDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET
	movq	_uPD98402_MDR_TPLP@GOTPCREL(%rip), %r15
	movq	_uPD98402_MDR_ALP@GOTPCREL(%rip), %r14
	movb	(%r14), %bl
	orb	(%r15), %bl
	movq	_uPD98402_MDR_RPLP@GOTPCREL(%rip), %r13
	orb	(%r13), %bl
	notb	%bl
	andb	%al, %bl
	movl	%r12d, %edi
	callq	___ATM_LM_XTLOC
	cmpl	$130, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.3:
	orb	(%r15), %bl
	jmp	LBB0_5
LBB0_4:
	orb	(%r14), %bl
LBB0_5:
	movl	%r12d, %edi
	callq	___ATM_LM_XTRMT
	cmpl	$129, %eax
	je	LBB0_8
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.7:
	orb	(%r13), %bl
LBB0_8:
	movq	_MDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movzbl	%bl, %edi
	callq	_PUT
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_PRIV
	movl	%r12d, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDR,4,2                        ## @MDR
	.comm	_uPD98402_MDR_TPLP,1,0          ## @uPD98402_MDR_TPLP
	.comm	_uPD98402_MDR_ALP,1,0           ## @uPD98402_MDR_ALP
	.comm	_uPD98402_MDR_RPLP,1,0          ## @uPD98402_MDR_RPLP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_set_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_loopback
_set_loopback:                          ; @set_loopback
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MDR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MDR@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_GET
Lloh2:
	adrp	x24, _uPD98402_MDR_TPLP@GOTPAGE
Lloh3:
	ldr	x24, [x24, _uPD98402_MDR_TPLP@GOTPAGEOFF]
	ldrb	w8, [x24]
Lloh4:
	adrp	x25, _uPD98402_MDR_ALP@GOTPAGE
Lloh5:
	ldr	x25, [x25, _uPD98402_MDR_ALP@GOTPAGEOFF]
	ldrb	w9, [x25]
	orr	w8, w9, w8
Lloh6:
	adrp	x23, _uPD98402_MDR_RPLP@GOTPAGE
Lloh7:
	ldr	x23, [x23, _uPD98402_MDR_RPLP@GOTPAGEOFF]
	ldrb	w9, [x23]
	orr	w8, w8, w9
	bic	w22, w0, w8
	mov	x0, x19
	bl	___ATM_LM_XTLOC
	cmp	w0, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_10
; %bb.3:
	ldrb	w8, [x24]
	b	LBB0_5
LBB0_4:
	ldrb	w8, [x25]
LBB0_5:
	orr	w22, w8, w22
LBB0_6:
	mov	x0, x19
	bl	___ATM_LM_XTRMT
	cmp	w0, #129
	b.eq	LBB0_9
; %bb.7:
	cmp	w0, #128
	b.ne	LBB0_10
; %bb.8:
	ldrb	w8, [x23]
	orr	w22, w8, w22
LBB0_9:
	ldr	w1, [x21]
	and	w0, w22, #0xff
	bl	_PUT
	mov	x0, x20
	bl	_PRIV
	mov	x8, x0
	mov	w0, #0
	str	w19, [x8]
	b	LBB0_11
LBB0_10:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MDR,4,2                        ; @MDR
	.comm	_uPD98402_MDR_TPLP,1,0          ; @uPD98402_MDR_TPLP
	.comm	_uPD98402_MDR_ALP,1,0           ; @uPD98402_MDR_ALP
	.comm	_uPD98402_MDR_RPLP,1,0          ; @uPD98402_MDR_RPLP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_set_loopback
.subsections_via_symbols
