	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i32_iszero                  ## -- Begin function br_i32_iszero
	.p2align	4, 0x90
_br_i32_iszero:                         ## @br_i32_iszero
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	addl	$31, %edx
	xorl	%eax, %eax
	cmpl	$32, %edx
	jb	LBB0_12
## %bb.1:
	movl	%edx, %r9d
	sarl	$5, %r9d
	movslq	%r9d, %rcx
	xorl	%eax, %eax
	cmpl	$256, %edx                      ## imm = 0x100
	jb	LBB0_11
## %bb.2:
	movq	%rcx, %r8
	andq	$-8, %r8
	leaq	-8(%r8), %rax
	movq	%rax, %r10
	shrq	$3, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r10, %rax
	andq	$-2, %rax
	leaq	(%rdi,%rcx,4), %rdx
	addq	$-12, %rdx
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rdx,%rsi,4), %xmm2
	movdqu	-32(%rdx,%rsi,4), %xmm3
	movdqu	-16(%rdx,%rsi,4), %xmm4
	movdqu	(%rdx,%rsi,4), %xmm5
	pshufd	$27, %xmm5, %xmm5               ## xmm5 = xmm5[3,2,1,0]
	por	%xmm0, %xmm5
	pshufd	$27, %xmm4, %xmm4               ## xmm4 = xmm4[3,2,1,0]
	por	%xmm1, %xmm4
	pshufd	$27, %xmm3, %xmm0               ## xmm0 = xmm3[3,2,1,0]
	por	%xmm5, %xmm0
	pshufd	$27, %xmm2, %xmm1               ## xmm1 = xmm2[3,2,1,0]
	por	%xmm4, %xmm1
	addq	$-16, %rsi
	addq	$-2, %rax
	jne	LBB0_5
## %bb.6:
	negq	%rsi
	testb	$1, %r10b
	je	LBB0_9
LBB0_8:
	movq	%rcx, %rax
	subq	%rsi, %rax
	movdqu	-28(%rdi,%rax,4), %xmm2
	movdqu	-12(%rdi,%rax,4), %xmm3
	pshufd	$27, %xmm3, %xmm3               ## xmm3 = xmm3[3,2,1,0]
	por	%xmm3, %xmm0
	pshufd	$27, %xmm2, %xmm2               ## xmm2 = xmm2[3,2,1,0]
	por	%xmm2, %xmm1
LBB0_9:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpq	%rcx, %r8
	je	LBB0_12
## %bb.10:
	andl	$7, %r9d
	movq	%r9, %rcx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	orl	(%rdi,%rcx,4), %eax
	decq	%rcx
	jne	LBB0_11
LBB0_12:
	leal	-1(%rax), %ecx
	notl	%eax
	andl	%ecx, %eax
	sarl	$31, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	testb	$1, %r10b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_i32_iszero                  ; -- Begin function br_i32_iszero
	.p2align	2
_br_i32_iszero:                         ; @br_i32_iszero
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	add	w8, w8, #31
	cmp	w8, #32
	b.hs	LBB0_2
; %bb.1:
	mov	w11, #0
	b	LBB0_8
LBB0_2:
	sbfx	x9, x8, #5, #27
	cmp	w8, #512
	b.hs	LBB0_4
; %bb.3:
	mov	w11, #0
	mov	x8, x9
	b	LBB0_7
LBB0_4:
	and	x10, x9, #0xfffffffffffffff0
	and	x8, x9, #0xf
	add	x11, x0, x9, lsl #2
	sub	x11, x11, #28
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q5, q4, [x11]
	rev64.4s	v4, v4
	ext.16b	v4, v4, v4, #8
	rev64.4s	v5, v5
	ext.16b	v5, v5, v5, #8
	ldp	q7, q6, [x11, #-32]
	rev64.4s	v6, v6
	ext.16b	v6, v6, v6, #8
	rev64.4s	v7, v7
	ext.16b	v7, v7, v7, #8
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	sub	x11, x11, #64
	sub	x12, x12, #16
	cbnz	x12, LBB0_5
; %bb.6:
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w11, s0
	mov.s	w12, v0[1]
	orr	w11, w11, w12
	cmp	x10, x9
	b.eq	LBB0_8
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0, x8, lsl #2]
	orr	w11, w9, w11
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	sub	w8, w11, #1
	bic	w8, w8, w11
	asr	w0, w8, #31
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
