	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_segment_type
_get_segment_type:                      ## @get_segment_type
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-128(%rdi), %rax
	cmpq	$11, %rax
	jae	LBB0_1
## %bb.23:
	leaq	l_reltable.get_segment_type(%rip), %rcx
	movslq	(%rcx,%rax,4), %rbx
	addq	%rcx, %rbx
	jmp	LBB0_24
LBB0_1:
	movq	%rdi, %r14
	movq	_PT_LOPROC@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%rdi, %rax
	ja	LBB0_13
## %bb.2:
	movq	_PT_HIPROC@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jb	LBB0_13
## %bb.3:
	movq	_elf_header@GOTPCREL(%rip), %rdx
	movl	$-139, %ecx
	addl	(%rdx), %ecx
	cmpl	$4, %ecx
	ja	LBB0_11
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	%r14, %rdi
	callq	_get_mips_segment_type
	jmp	LBB0_9
LBB0_13:
	movq	_PT_LOOS@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	%r14, %rax
	ja	LBB0_22
## %bb.14:
	movq	_PT_HIOS@GOTPCREL(%rip), %rcx
	cmpq	%r14, (%rcx)
	jb	LBB0_22
## %bb.15:
	movq	_elf_header@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	$142, %ecx
	je	LBB0_18
## %bb.16:
	cmpl	$139, %ecx
	jne	LBB0_21
## %bb.17:
	movq	%r14, %rdi
	callq	_get_parisc_segment_type
	jmp	LBB0_19
LBB0_22:
	leaq	L_.str.13(%rip), %rdi
	callq	__
	leaq	_get_segment_type.buff(%rip), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	_snprintf
	jmp	LBB0_24
LBB0_7:
	movq	%r14, %rdi
	callq	_get_parisc_segment_type
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	callq	_get_ia64_segment_type
	jmp	LBB0_9
LBB0_5:
	movq	%r14, %rdi
	callq	_get_arm_segment_type
LBB0_9:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.10:
	movq	(%r15), %rax
LBB0_11:
	subl	%eax, %r14d
	leaq	_get_segment_type.buff(%rip), %rbx
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_12
LBB0_18:
	movq	%r14, %rdi
	callq	_get_ia64_segment_type
LBB0_19:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.20:
	movq	(%r15), %rax
LBB0_21:
	subl	%eax, %r14d
	leaq	_get_segment_type.buff(%rip), %rbx
	leaq	L_.str.12(%rip), %rsi
LBB0_12:
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_sprintf
LBB0_24:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
.zerofill __DATA,__bss,_get_segment_type.buff,32,4 ## @get_segment_type.buff
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NULL"

L_.str.1:                               ## @.str.1
	.asciz	"LOAD"

L_.str.2:                               ## @.str.2
	.asciz	"DYNAMIC"

L_.str.3:                               ## @.str.3
	.asciz	"INTERP"

L_.str.4:                               ## @.str.4
	.asciz	"NOTE"

L_.str.5:                               ## @.str.5
	.asciz	"SHLIB"

L_.str.6:                               ## @.str.6
	.asciz	"PHDR"

L_.str.7:                               ## @.str.7
	.asciz	"TLS"

L_.str.8:                               ## @.str.8
	.asciz	"GNU_EH_FRAME"

L_.str.9:                               ## @.str.9
	.asciz	"GNU_STACK"

L_.str.10:                              ## @.str.10
	.asciz	"GNU_RELRO"

	.comm	_PT_LOPROC,8,3                  ## @PT_LOPROC
	.comm	_PT_HIPROC,8,3                  ## @PT_HIPROC
	.comm	_elf_header,4,2                 ## @elf_header
L_.str.11:                              ## @.str.11
	.asciz	"LOPROC+%lx"

	.comm	_PT_LOOS,8,3                    ## @PT_LOOS
	.comm	_PT_HIOS,8,3                    ## @PT_HIOS
L_.str.12:                              ## @.str.12
	.asciz	"LOOS+%lx"

L_.str.13:                              ## @.str.13
	.asciz	"<unknown>: %lx"

	.no_dead_strip	_get_segment_type
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.get_segment_type
l_reltable.get_segment_type:
	.long	L_.str.7-l_reltable.get_segment_type
	.long	L_.str.5-l_reltable.get_segment_type
	.long	L_.str.6-l_reltable.get_segment_type
	.long	L_.str-l_reltable.get_segment_type
	.long	L_.str.4-l_reltable.get_segment_type
	.long	L_.str.1-l_reltable.get_segment_type
	.long	L_.str.3-l_reltable.get_segment_type
	.long	L_.str.9-l_reltable.get_segment_type
	.long	L_.str.10-l_reltable.get_segment_type
	.long	L_.str.8-l_reltable.get_segment_type
	.long	L_.str.2-l_reltable.get_segment_type

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_segment_type
_get_segment_type:                      ; @get_segment_type
	.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
	sub	x8, x0, #128
	cmp	x8, #11
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.get_segment_type@PAGE
Lloh1:
	add	x9, x9, l_switch.table.get_segment_type@PAGEOFF
	ldr	x20, [x9, x8, lsl #3]
	b	LBB0_20
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x21, _PT_LOPROC@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PT_LOPROC@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _PT_HIPROC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _PT_HIPROC@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x0
	ccmp	x9, x0, #0, ls
	b.hs	LBB0_5
; %bb.3:
Lloh7:
	adrp	x21, _PT_LOOS@GOTPAGE
Lloh8:
	ldr	x21, [x21, _PT_LOOS@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _PT_HIOS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PT_HIOS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x19
	ccmp	x9, x19, #0, ls
	b.hs	LBB0_8
; %bb.4:
Lloh12:
	adrp	x0, l_.str.13@PAGE
Lloh13:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	__
	mov	x2, x0
Lloh14:
	adrp	x20, _get_segment_type.buff@PAGE
Lloh15:
	add	x20, x20, _get_segment_type.buff@PAGEOFF
	mov	x0, x20
	mov	w1, #32
	mov	x3, x19
	bl	_snprintf
	b	LBB0_20
LBB0_5:
Lloh16:
	adrp	x9, _elf_header@GOTPAGE
Lloh17:
	ldr	x9, [x9, _elf_header@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	sub	w9, w9, #139
	cmp	w9, #4
	b.hi	LBB0_15
; %bb.6:
Lloh19:
	adrp	x8, lJTI0_0@PAGE
Lloh20:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x19
	bl	_get_mips_segment_type
	mov	x20, x0
	cbnz	x0, LBB0_20
	b	LBB0_14
LBB0_8:
Lloh21:
	adrp	x9, _elf_header@GOTPAGE
Lloh22:
	ldr	x9, [x9, _elf_header@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w9, #142
	b.eq	LBB0_16
; %bb.9:
	cmp	w9, #139
	b.ne	LBB0_18
; %bb.10:
	mov	x0, x19
	bl	_get_parisc_segment_type
	mov	x20, x0
	cbnz	x0, LBB0_20
	b	LBB0_17
LBB0_11:
	mov	x0, x19
	bl	_get_parisc_segment_type
	mov	x20, x0
	cbnz	x0, LBB0_20
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_get_ia64_segment_type
	mov	x20, x0
	cbnz	x0, LBB0_20
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_get_arm_segment_type
	mov	x20, x0
	cbnz	x0, LBB0_20
LBB0_14:
	ldr	x8, [x21]
LBB0_15:
	sub	w2, w19, w8
Lloh24:
	adrp	x20, _get_segment_type.buff@PAGE
Lloh25:
	add	x20, x20, _get_segment_type.buff@PAGEOFF
Lloh26:
	adrp	x1, l_.str.11@PAGE
Lloh27:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_19
LBB0_16:
	mov	x0, x19
	bl	_get_ia64_segment_type
	mov	x20, x0
	cbnz	x0, LBB0_20
LBB0_17:
	ldr	x8, [x21]
LBB0_18:
	sub	w2, w19, w8
Lloh28:
	adrp	x20, _get_segment_type.buff@PAGE
Lloh29:
	add	x20, x20, _get_segment_type.buff@PAGEOFF
Lloh30:
	adrp	x1, l_.str.12@PAGE
Lloh31:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_19:
	mov	x0, x20
	bl	_sprintf
LBB0_20:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_12-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
                                        ; -- End function
.zerofill __DATA,__bss,_get_segment_type.buff,32,0 ; @get_segment_type.buff
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NULL"

l_.str.1:                               ; @.str.1
	.asciz	"LOAD"

l_.str.2:                               ; @.str.2
	.asciz	"DYNAMIC"

l_.str.3:                               ; @.str.3
	.asciz	"INTERP"

l_.str.4:                               ; @.str.4
	.asciz	"NOTE"

l_.str.5:                               ; @.str.5
	.asciz	"SHLIB"

l_.str.6:                               ; @.str.6
	.asciz	"PHDR"

l_.str.7:                               ; @.str.7
	.asciz	"TLS"

l_.str.8:                               ; @.str.8
	.asciz	"GNU_EH_FRAME"

l_.str.9:                               ; @.str.9
	.asciz	"GNU_STACK"

l_.str.10:                              ; @.str.10
	.asciz	"GNU_RELRO"

	.comm	_PT_LOPROC,8,3                  ; @PT_LOPROC
	.comm	_PT_HIPROC,8,3                  ; @PT_HIPROC
	.comm	_elf_header,4,2                 ; @elf_header
l_.str.11:                              ; @.str.11
	.asciz	"LOPROC+%lx"

	.comm	_PT_LOOS,8,3                    ; @PT_LOOS
	.comm	_PT_HIOS,8,3                    ; @PT_HIOS
l_.str.12:                              ; @.str.12
	.asciz	"LOOS+%lx"

l_.str.13:                              ; @.str.13
	.asciz	"<unknown>: %lx"

	.no_dead_strip	_get_segment_type
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.get_segment_type
l_switch.table.get_segment_type:
	.quad	l_.str.7
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str
	.quad	l_.str.4
	.quad	l_.str.1
	.quad	l_.str.3
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.8
	.quad	l_.str.2

.subsections_via_symbols
