	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function expand_sdiv_pow2
_expand_sdiv_pow2:                      ## @expand_sdiv_pow2
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	%edi, %r12d
	movl	%edx, %edi
	callq	_floor_log2
	movl	%eax, %ebx
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_build_int_cst
	movl	%eax, %r13d
	movq	_BRANCH_COST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %r14d
	jne	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movl	%r12d, %edi
	callq	_gen_reg_rtx
	movq	_LT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_const0_rtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, (%rsp)
	movq	%rax, %rdi
	movq	%r15, %rdx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_emit_store_flag
	jmp	LBB0_8
LBB0_3:
	cmpl	$2, %eax
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jl	LBB0_9
## %bb.4:
	movl	%r12d, %edi
	callq	_GET_MODE_BITSIZE
	movl	%eax, %r13d
	subl	%ebx, %r13d
	movl	%r12d, %edi
	callq	_gen_reg_rtx
	movq	_LT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_const0_rtx@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$-1, (%rsp)
	movq	%rax, %rdi
	movq	%r15, %rdx
	movl	%r12d, %r8d
	xorl	%r9d, %r9d
	callq	_emit_store_flag
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_shift_cost@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	movq	(%rax,%rcx,8), %rax
	movslq	%r13d, %rcx
	movq	(%rax,%rcx,8), %rbx
	movl	$1, %edi
	callq	_COSTS_N_INSNS
	cmpq	%rax, %rbx
	jle	LBB0_6
## %bb.5:
	movq	_and_optab@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	decl	%r14d
	movl	%r14d, %edi
	callq	_GEN_INT
	movq	_NULL_RTX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_OPTAB_LIB_WIDEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movl	%r12d, %edi
	movl	%ebx, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	xorl	%r9d, %r9d
	callq	_expand_binop
	jmp	LBB0_7
LBB0_9:
	xorl	%eax, %eax
	callq	_gen_label_rtx
	movq	%rax, %r13
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_copy_to_mode_reg
	movq	%rax, %rbx
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_GE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	movq	%r13, %r8
	callq	_do_cmp_and_jump
	decl	%r14d
	movl	%r14d, %edi
	callq	_GEN_INT
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_expand_inc
	movq	%r13, %rdi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	callq	_emit_label
	jmp	LBB0_10
LBB0_6:
	movq	_RSHIFT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r13d, %esi
	callq	_build_int_cst
	movq	_NULL_RTX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	%ebx, %edi
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	movl	$1, %r9d
	callq	_expand_shift
LBB0_7:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_8:
	movq	_add_optab@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_NULL_RTX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	_OPTAB_LIB_WIDEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movl	%r12d, %edi
	movq	%rax, %rdx
	movq	%r15, %rcx
	xorl	%r9d, %r9d
	callq	_expand_binop
	movq	%rax, %rbx
LBB0_10:
	movq	_RSHIFT_EXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NULL_RTX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r12d, %esi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	xorl	%r9d, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_expand_shift                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,4,2                  ## @NULL_TREE
	.comm	_BRANCH_COST,4,2                ## @BRANCH_COST
	.comm	_LT,4,2                         ## @LT
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.comm	_add_optab,4,2                  ## @add_optab
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
	.comm	_OPTAB_LIB_WIDEN,4,2            ## @OPTAB_LIB_WIDEN
	.comm	_RSHIFT_EXPR,4,2                ## @RSHIFT_EXPR
	.comm	_shift_cost,8,3                 ## @shift_cost
	.comm	_and_optab,4,2                  ## @and_optab
	.comm	_GE,4,2                         ## @GE
	.no_dead_strip	_expand_sdiv_pow2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function expand_sdiv_pow2
_expand_sdiv_pow2:                      ; @expand_sdiv_pow2
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	_floor_log2
	mov	x23, x0
Lloh0:
	adrp	x27, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _NULL_TREE@GOTPAGEOFF]
	ldr	w0, [x27]
	mov	x1, x23
	bl	_build_int_cst
	mov	x20, x0
Lloh2:
	adrp	x8, _BRANCH_COST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BRANCH_COST@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x25, _RSHIFT_EXPR@GOTPAGE
Lloh6:
	ldr	x25, [x25, _RSHIFT_EXPR@GOTPAGEOFF]
Lloh7:
	adrp	x26, _NULL_RTX@GOTPAGE
Lloh8:
	ldr	x26, [x26, _NULL_RTX@GOTPAGEOFF]
	cmp	w22, #2
	b.ne	LBB0_3
; %bb.1:
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_gen_reg_rtx
Lloh9:
	adrp	x8, _LT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh13:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x2, x21
	mov	x4, x19
	mov	w5, #0
	mov	w6, #1
	bl	_emit_store_flag
	mov	x2, x0
Lloh15:
	adrp	x8, _add_optab@GOTPAGE
Lloh16:
	ldr	x8, [x8, _add_optab@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w4, [x26]
Lloh18:
	adrp	x8, _OPTAB_LIB_WIDEN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OPTAB_LIB_WIDEN@GOTPAGEOFF]
Lloh20:
	ldr	w6, [x8]
	b	LBB0_9
LBB0_3:
	cmp	w8, #1
	b.le	LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_GET_MODE_BITSIZE
	sub	w24, w0, w23
	mov	x0, x19
	bl	_gen_reg_rtx
Lloh21:
	adrp	x8, _LT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh25:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x2, x21
	mov	x4, x19
	mov	w5, #0
	mov	w6, #-1
	bl	_emit_store_flag
	mov	x23, x0
Lloh27:
	adrp	x8, _shift_cost@GOTPAGE
Lloh28:
	ldr	x8, [x8, _shift_cost@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, uxtw #3]
	ldr	x28, [x8, w24, sxtw #3]
	mov	w0, #1
	bl	_COSTS_N_INSNS
Lloh30:
	adrp	x8, _OPTAB_LIB_WIDEN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OPTAB_LIB_WIDEN@GOTPAGEOFF]
	cmp	x28, x0
	mov	x28, x8
	b.le	LBB0_7
; %bb.5:
Lloh32:
	adrp	x8, _and_optab@GOTPAGE
Lloh33:
	ldr	x8, [x8, _and_optab@GOTPAGEOFF]
Lloh34:
	ldr	w24, [x8]
	sub	w0, w22, #1
	bl	_GEN_INT
	mov	x3, x0
	ldr	w4, [x26]
	ldr	w6, [x28]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	w5, #0
	bl	_expand_binop
	b	LBB0_8
LBB0_6:
	bl	_gen_label_rtx
	mov	x23, x0
	mov	x0, x19
	mov	x1, x21
	bl	_copy_to_mode_reg
	mov	x21, x0
Lloh35:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh36:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x8, _GE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _GE@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	mov	x3, x19
	mov	x4, x23
	bl	_do_cmp_and_jump
	sub	w0, w22, #1
	bl	_GEN_INT
	mov	x1, x0
	mov	x0, x21
	bl	_expand_inc
	mov	x0, x23
	bl	_emit_label
	b	LBB0_10
LBB0_7:
	ldr	w22, [x25]
	ldr	w0, [x27]
	mov	x1, x24
	bl	_build_int_cst
	mov	x3, x0
	ldr	w4, [x26]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	w5, #1
	bl	_expand_shift
LBB0_8:
	mov	x2, x0
Lloh41:
	adrp	x8, _add_optab@GOTPAGE
Lloh42:
	ldr	x8, [x8, _add_optab@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	ldr	w4, [x26]
	ldr	w6, [x28]
LBB0_9:
	mov	x0, x19
	mov	x3, x21
	mov	w5, #0
	bl	_expand_binop
	mov	x21, x0
LBB0_10:
	ldr	w0, [x25]
	ldr	w4, [x26]
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	mov	w5, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_expand_shift
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,4,2                  ; @NULL_TREE
	.comm	_BRANCH_COST,4,2                ; @BRANCH_COST
	.comm	_LT,4,2                         ; @LT
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.comm	_add_optab,4,2                  ; @add_optab
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
	.comm	_OPTAB_LIB_WIDEN,4,2            ; @OPTAB_LIB_WIDEN
	.comm	_RSHIFT_EXPR,4,2                ; @RSHIFT_EXPR
	.comm	_shift_cost,8,3                 ; @shift_cost
	.comm	_and_optab,4,2                  ; @and_optab
	.comm	_GE,4,2                         ; @GE
	.no_dead_strip	_expand_sdiv_pow2
.subsections_via_symbols
