	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mps_pass_command               ## -- Begin function mps_pass_command
	.p2align	4, 0x90
_mps_pass_command:                      ## @mps_pass_command
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r14
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	16(%rbp), %r15
	leaq	-136(%rbp), %rdi
	movl	$80, %esi
	callq	_bzero
	movq	32(%rbp), %rax
	movq	%r14, -64(%rbp)
	movq	%rbx, -72(%rbp)
	movq	%r13, -80(%rbp)
	movq	%r12, -88(%rbp)
	testq	%r15, %r15
	je	LBB0_6
## %bb.1:
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, -112(%rbp)
	movq	24(%rbp), %rcx
	movq	%rcx, -96(%rbp)
	movq	%r15, -120(%rbp)
	movq	%rax, -104(%rbp)
	movq	_is_mps@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_MPR_PASS_THRU_DIRECTION_BOTH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	testq	%r15, %r15
	je	LBB0_10
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -112(%rbp)
	movq	%r15, -120(%rbp)
	movq	_is_mps@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.9:
	movq	_MPR_PASS_THRU_DIRECTION_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_MPS_PASS_THRU_DIRECTION_BOTH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	24(%rbp), %rcx
	movq	%rcx, -112(%rbp)
	movq	%rax, -120(%rbp)
	movq	_is_mps@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	40(%rbp), %rcx
	jne	LBB0_12
## %bb.13:
	movq	_MPR_PASS_THRU_DIRECTION_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	movq	_MPS_PASS_THRU_DIRECTION_READ@GOTPCREL(%rip), %rax
LBB0_5:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	40(%rbp), %rcx
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	movq	%rcx, -136(%rbp)
	movq	_MPTIOCTL_PASS_THRU@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-136(%rbp), %rdx
	callq	_ioctl
	movq	_errno@GOTPCREL(%rip), %rcx
	sarq	$63, %rax
	andl	(%rcx), %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_is_mps@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	40(%rbp), %rcx
	jne	LBB0_15
## %bb.16:
	movq	_MPR_PASS_THRU_DIRECTION_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_MPS_PASS_THRU_DIRECTION_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:
	movq	_MPS_PASS_THRU_DIRECTION_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_is_mps,8,3                     ## @is_mps
	.comm	_MPS_PASS_THRU_DIRECTION_BOTH,4,2 ## @MPS_PASS_THRU_DIRECTION_BOTH
	.comm	_MPR_PASS_THRU_DIRECTION_BOTH,4,2 ## @MPR_PASS_THRU_DIRECTION_BOTH
	.comm	_MPS_PASS_THRU_DIRECTION_READ,4,2 ## @MPS_PASS_THRU_DIRECTION_READ
	.comm	_MPR_PASS_THRU_DIRECTION_READ,4,2 ## @MPR_PASS_THRU_DIRECTION_READ
	.comm	_MPS_PASS_THRU_DIRECTION_WRITE,4,2 ## @MPS_PASS_THRU_DIRECTION_WRITE
	.comm	_MPR_PASS_THRU_DIRECTION_WRITE,4,2 ## @MPR_PASS_THRU_DIRECTION_WRITE
	.comm	_MPS_PASS_THRU_DIRECTION_NONE,4,2 ## @MPS_PASS_THRU_DIRECTION_NONE
	.comm	_MPR_PASS_THRU_DIRECTION_NONE,4,2 ## @MPR_PASS_THRU_DIRECTION_NONE
	.comm	_MPTIOCTL_PASS_THRU,4,2         ## @MPTIOCTL_PASS_THRU
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mps_pass_command               ; -- Begin function mps_pass_command
	.p2align	2
_mps_pass_command:                      ; @mps_pass_command
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
	ldp	x28, x27, [x29, #16]
	mov	x0, sp
	mov	w1, #80
	bl	_bzero
	stp	x24, x26, [sp, #64]
	stp	x23, x25, [sp, #48]
	cbz	x21, LBB0_3
; %bb.1:
	cbz	x28, LBB0_3
; %bb.2:
	stp	x21, x22, [sp, #16]
	stp	x28, x20, [sp, #32]
Lloh0:
	adrp	x8, _is_mps@GOTPAGE
Lloh1:
	ldr	x8, [x8, _is_mps@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MPS_PASS_THRU_DIRECTION_BOTH@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MPS_PASS_THRU_DIRECTION_BOTH@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MPR_PASS_THRU_DIRECTION_BOTH@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MPR_PASS_THRU_DIRECTION_BOTH@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	cbz	x21, LBB0_5
; %bb.4:
	stp	x21, x22, [sp, #16]
Lloh7:
	adrp	x8, _is_mps@GOTPAGE
Lloh8:
	ldr	x8, [x8, _is_mps@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _MPS_PASS_THRU_DIRECTION_READ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MPS_PASS_THRU_DIRECTION_READ@GOTPAGEOFF]
Lloh12:
	adrp	x10, _MPR_PASS_THRU_DIRECTION_READ@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MPR_PASS_THRU_DIRECTION_READ@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	cbz	x28, LBB0_7
; %bb.6:
	stp	x28, x20, [sp, #16]
Lloh14:
	adrp	x8, _is_mps@GOTPAGE
Lloh15:
	ldr	x8, [x8, _is_mps@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _MPS_PASS_THRU_DIRECTION_WRITE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MPS_PASS_THRU_DIRECTION_WRITE@GOTPAGEOFF]
Lloh19:
	adrp	x10, _MPR_PASS_THRU_DIRECTION_WRITE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _MPR_PASS_THRU_DIRECTION_WRITE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh21:
	adrp	x8, _is_mps@GOTPAGE
Lloh22:
	ldr	x8, [x8, _is_mps@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
Lloh24:
	adrp	x9, _MPS_PASS_THRU_DIRECTION_NONE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MPS_PASS_THRU_DIRECTION_NONE@GOTPAGEOFF]
Lloh26:
	adrp	x10, _MPR_PASS_THRU_DIRECTION_NONE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _MPR_PASS_THRU_DIRECTION_NONE@GOTPAGEOFF]
LBB0_8:
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	x27, [sp]
Lloh28:
	adrp	x8, _MPTIOCTL_PASS_THRU@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MPTIOCTL_PASS_THRU@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_ioctl
Lloh31:
	adrp	x8, _errno@GOTPAGE
Lloh32:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	asr	x9, x0, #63
	and	w0, w9, w8
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_is_mps,8,3                     ; @is_mps
	.comm	_MPS_PASS_THRU_DIRECTION_BOTH,4,2 ; @MPS_PASS_THRU_DIRECTION_BOTH
	.comm	_MPR_PASS_THRU_DIRECTION_BOTH,4,2 ; @MPR_PASS_THRU_DIRECTION_BOTH
	.comm	_MPS_PASS_THRU_DIRECTION_READ,4,2 ; @MPS_PASS_THRU_DIRECTION_READ
	.comm	_MPR_PASS_THRU_DIRECTION_READ,4,2 ; @MPR_PASS_THRU_DIRECTION_READ
	.comm	_MPS_PASS_THRU_DIRECTION_WRITE,4,2 ; @MPS_PASS_THRU_DIRECTION_WRITE
	.comm	_MPR_PASS_THRU_DIRECTION_WRITE,4,2 ; @MPR_PASS_THRU_DIRECTION_WRITE
	.comm	_MPS_PASS_THRU_DIRECTION_NONE,4,2 ; @MPS_PASS_THRU_DIRECTION_NONE
	.comm	_MPR_PASS_THRU_DIRECTION_NONE,4,2 ; @MPR_PASS_THRU_DIRECTION_NONE
	.comm	_MPTIOCTL_PASS_THRU,4,2         ; @MPTIOCTL_PASS_THRU
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
