	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ppc_mrset
_ppc_mrset:                             ## @ppc_mrset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	cmpl	$128, %eax
	je	LBB0_9
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_16
## %bb.2:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.3:
	movq	8(%rdi), %rdi
	movl	4(%rsi), %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$12, %rdi
	decq	%rax
	je	LBB0_17
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, 4(%rdi)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rdi), %edx
	cmpl	(%rsi), %edx
	jne	LBB0_4
## %bb.7:
	movl	$12, %esi
	callq	_bzero
	jmp	LBB0_8
LBB0_9:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
## %bb.10:
	movq	8(%rdi), %r9
	shlq	$2, %rcx
	leaq	(%rcx,%rcx,2), %r8
	xorl	%ecx, %ecx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$12, %rcx
	cmpq	%rcx, %r8
	je	LBB0_18
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rcx), %edx
	testl	%edx, %edx
	je	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	4(%r9,%rcx), %eax
	cmpl	4(%rsi), %eax
	jne	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	(%rsi), %edx
	jne	LBB0_11
## %bb.15:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_17:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_18:
	movq	_ENOSPC@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_20:
	movl	8(%rsi), %edx
	movl	%edx, 8(%r9,%rcx)
	movq	(%rsi), %rdx
	movq	%rdx, (%r9,%rcx)
	movq	_MDF_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rdi), %rdx
	orl	%eax, 8(%rdx,%rcx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDF_ACTIVE,4,2                 ## @MDF_ACTIVE
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_ppc_mrset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ppc_mrset
_ppc_mrset:                             ; @ppc_mrset
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x2]
	cmp	w8, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_15
; %bb.2:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.3:
	ldr	x0, [x0, #8]
	ldr	w9, [x1, #4]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x0, #12
	subs	x8, x8, #1
	b.eq	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0, #4]
	cmp	w10, w9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x0]
	ldr	w11, [x1]
	cmp	w10, w11
	b.ne	LBB0_4
; %bb.7:
	mov	w1, #12
	bl	_bzero
	mov	w8, #0
	b	LBB0_19
LBB0_8:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.9:
	mov	x9, #0
	ldr	x10, [x0, #8]
	add	x8, x8, x8, lsl #1
	lsl	x8, x8, #2
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x9, x9, #12
	cmp	x8, x9
	b.eq	LBB0_17
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10, x9]
	cbz	w11, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x12, x10, x9
	ldr	w12, [x12, #4]
	ldr	w13, [x1, #4]
	cmp	w12, w13
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w12, [x1]
	cmp	w11, w12
	b.ne	LBB0_10
; %bb.14:
Lloh0:
	adrp	x8, _EEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh4:
	adrp	x8, _ENOENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh6:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
LBB0_19:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	w8, #0
	add	x10, x10, x9
	ldr	x11, [x1]
	ldr	w12, [x1, #8]
	str	w12, [x10, #8]
	str	x11, [x10]
Lloh8:
	adrp	x10, _MDF_ACTIVE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MDF_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	ldr	x11, [x0, #8]
	add	x9, x11, x9
	ldr	w11, [x9, #8]
	orr	w10, w11, w10
	str	w10, [x9, #8]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MDF_ACTIVE,4,2                 ; @MDF_ACTIVE
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_ppc_mrset
.subsections_via_symbols
