	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_mode_maps
_apply_mode_maps:                       ## @apply_mode_maps
	.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
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	_MAX_MACHINE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_modes@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htab_elements
	movl	%eax, %r14d
	addl	%r13d, %r14d
	movl	%r12d, %edi
	callq	_GET_MODE
	cmpl	%r14d, %eax
	jb	LBB0_7
## %bb.1:
	movl	%r12d, %edi
	callq	_GET_MODE
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.2:
	subl	%r14d, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%rbx)
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
	jmp	LBB0_7
LBB0_4:
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_map_attr_string
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	8(%rax), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_find_mode
	movl	%r12d, %edi
	movl	%eax, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PUT_MODE                       ## TAILCALL
LBB0_5:
	movq	8(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MACHINE_MODE,4,2           ## @MAX_MACHINE_MODE
	.comm	_modes,4,2                      ## @modes
	.no_dead_strip	_apply_mode_maps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_mode_maps
_apply_mode_maps:                       ; @apply_mode_maps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x5
	mov	x20, x4
	mov	x23, x3
	mov	x24, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MAX_MACHINE_MODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_MACHINE_MODE@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
Lloh3:
	adrp	x8, _modes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _modes@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htab_elements
	add	w25, w0, w25
	mov	x0, x19
	bl	_GET_MODE
	cmp	w0, w25
	b.lo	LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_GET_MODE
	cbz	x22, LBB0_8
; %bb.2:
	sub	w8, w0, w25
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x22]
	cmp	w9, w8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x22, #16]
	cbnz	x22, LBB0_3
	b	LBB0_8
LBB0_5:
	ldr	x0, [x22, #8]
	mov	x1, x24
	mov	x2, x23
	bl	_map_attr_string
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x0, #8]
	mov	x1, x20
	bl	_find_mode
	mov	x1, x0
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_PUT_MODE
LBB0_7:
	ldr	x8, [x22, #8]
	str	x8, [x21]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MACHINE_MODE,4,2           ; @MAX_MACHINE_MODE
	.comm	_modes,4,2                      ; @modes
	.no_dead_strip	_apply_mode_maps
.subsections_via_symbols
