	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pushf_write                    ## -- Begin function pushf_write
	.p2align	4, 0x90
_pushf_write:                           ## @pushf_write
	.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, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	jle	LBB0_4
## %bb.1:
	movslq	8(%r14), %rdi
	movl	%edx, %r12d
	subl	%edi, %r12d
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.2:
	shlq	$2, %rdi
	addq	16(%r14), %rdi
	cmpl	%ebx, %r12d
	jle	LBB0_5
## %bb.3:
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, 8(%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrap_process                   ## TAILCALL
LBB0_5:
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	subl	%r12d, %ebx
	movl	%r12d, %eax
	leaq	(%r15,%rax,4), %r15
	movl	(%r14), %edx
LBB0_6:
	movq	16(%r14), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wrap_process
	testl	%eax, %eax
	js	LBB0_14
## %bb.7:
	movl	$0, 8(%r14)
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	jle	LBB0_15
## %bb.8:
	movq	(%r14), %rdx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	cmpq	%rax, %rdx
	jge	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wrap_process
	testl	%eax, %eax
	js	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r14), %rdx
	leaq	(%r15,%rdx,4), %r15
	subl	%edx, %ebx
	testl	%ebx, %ebx
	jg	LBB0_9
	jmp	LBB0_15
LBB0_14:
	movl	%eax, %r12d
	jmp	LBB0_15
LBB0_13:
	movq	16(%r14), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, 8(%r14)
LBB0_15:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pushf_write                    ; -- Begin function pushf_write
	.p2align	2
_pushf_write:                           ; @pushf_write
	.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	x21, x1
	mov	x20, x0
	ldr	x2, [x0]
	cmp	x2, #0
	b.le	LBB0_11
; %bb.1:
	ldrsw	x8, [x20, #8]
	sub	w22, w2, w8
	cmp	w22, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	x9, [x20, #16]
	add	x0, x9, x8, lsl #2
	cmp	w22, w19
	b.gt	LBB0_13
; %bb.3:
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	sub	w19, w19, w22
	add	x21, x21, w22, uxtw #2
	ldr	w2, [x20]
LBB0_4:
	ldr	x1, [x20, #16]
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wrap_process
	tbnz	w0, #31, LBB0_14
; %bb.5:
	str	wzr, [x20, #8]
	cmp	w19, #1
	b.lt	LBB0_10
; %bb.6:
	ldr	x2, [x20]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x2, w19, uxtw
	b.ge	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wrap_process
	tbnz	w0, #31, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x2, [x20]
	add	x21, x21, x2, lsl #2
	sub	w19, w19, w2
	cmp	w19, #0
	b.gt	LBB0_7
LBB0_10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	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	_wrap_process
LBB0_12:
	ldr	x0, [x20, #16]
LBB0_13:
	mov	x1, x21
	mov	x2, x19
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [x20, #8]
	add	w8, w8, w19
	str	w8, [x20, #8]
LBB0_14:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
