	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_conversions                ## -- Begin function set_conversions
	.p2align	4, 0x90
_set_conversions:                       ## @set_conversions
	.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	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_tgetflag
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	callq	_tgetflag
LBB0_3:
	movq	_PARMRK@GOTPCREL(%rip), %rax
	movq	_INPCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movq	_mode@GOTPCREL(%rip), %rbx
	andl	%ecx, (%rbx)
	movq	_ICANON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	leaq	L_.str.2(%rip), %rdi
	callq	_tgetflag
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_PARENB@GOTPCREL(%rip), %rax
	movl	12(%rbx), %ecx
	orl	(%rax), %ecx
	movq	_PARODD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, 12(%rbx)
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	callq	_tgetflag
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_PARENB@GOTPCREL(%rip), %rax
	movl	12(%rbx), %ecx
	orl	(%rax), %ecx
	movq	_PARODD@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 12(%rbx)
LBB0_7:
	movq	_ICRNL@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	orl	%eax, (%rbx)
	movq	_ECHO@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	%eax, 4(%rbx)
	movq	_OXTABS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	%eax, 8(%rbx)
	leaq	L_.str.4(%rip), %rdi
	callq	_tgetflag
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	callq	_tgetflag
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, 4(%rbx)
LBB0_11:
	leaq	L_.str.6(%rip), %rdi
	callq	_tgetflag
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
LBB0_13:
	movq	_ECHOE@GOTPCREL(%rip), %rax
	movq	_ECHOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 4(%rbx)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UC"

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

	.comm	_PARMRK,4,2                     ## @PARMRK
	.comm	_INPCK,4,2                      ## @INPCK
	.comm	_mode,16,2                      ## @mode
	.comm	_ICANON,4,2                     ## @ICANON
L_.str.2:                               ## @.str.2
	.asciz	"EP"

	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_PARODD,4,2                     ## @PARODD
L_.str.3:                               ## @.str.3
	.asciz	"OP"

	.comm	_ICRNL,4,2                      ## @ICRNL
	.comm	_ECHO,4,2                       ## @ECHO
	.comm	_OXTABS,4,2                     ## @OXTABS
L_.str.4:                               ## @.str.4
	.asciz	"NL"

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

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

	.comm	_ECHOE,4,2                      ## @ECHOE
	.comm	_ECHOK,4,2                      ## @ECHOK
	.comm	_IUCLC,4,2                      ## @IUCLC
	.comm	_OLCUC,4,2                      ## @OLCUC
	.comm	_ONLCR,4,2                      ## @ONLCR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_conversions                ; -- Begin function set_conversions
	.p2align	2
_set_conversions:                       ; @set_conversions
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tgetflag
	cbnz	w19, LBB0_3
; %bb.1:
	cbnz	x0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_tgetflag
LBB0_3:
Lloh4:
	adrp	x8, _PARMRK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PARMRK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _INPCK@GOTPAGE
Lloh8:
	ldr	x9, [x9, _INPCK@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh10:
	adrp	x19, _mode@GOTPAGE
Lloh11:
	ldr	x19, [x19, _mode@GOTPAGEOFF]
	ldp	w9, w10, [x19]
	bic	w8, w9, w8
Lloh12:
	adrp	x9, _ICANON@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ICANON@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w9, w10, w9
	stp	w8, w9, [x19]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_tgetflag
Lloh17:
	adrp	x21, _PARENB@GOTPAGE
Lloh18:
	ldr	x21, [x21, _PARENB@GOTPAGEOFF]
Lloh19:
	adrp	x20, _PARODD@GOTPAGE
Lloh20:
	ldr	x20, [x20, _PARODD@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w8, [x21]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	ldr	w9, [x20]
	bic	w8, w8, w9
	str	w8, [x19, #12]
LBB0_5:
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_tgetflag
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w8, [x21]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x19, #12]
LBB0_7:
Lloh23:
	adrp	x22, _ICRNL@GOTPAGE
Lloh24:
	ldr	x22, [x22, _ICRNL@GOTPAGEOFF]
	ldr	w8, [x22]
	ldp	w9, w10, [x19]
	orr	w8, w9, w8
Lloh25:
	adrp	x21, _ECHO@GOTPAGE
Lloh26:
	ldr	x21, [x21, _ECHO@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w9, w10, w9
	stp	w8, w9, [x19]
Lloh27:
	adrp	x20, _OXTABS@GOTPAGE
Lloh28:
	ldr	x20, [x20, _OXTABS@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_tgetflag
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x22]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_9:
Lloh31:
	adrp	x0, l_.str.5@PAGE
Lloh32:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_tgetflag
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w8, [x21]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_11:
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_tgetflag
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
LBB0_13:
Lloh35:
	adrp	x8, _ECHOE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ECHOE@GOTPAGEOFF]
Lloh37:
	adrp	x9, _ECHOK@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ECHOK@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
Lloh40:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #4]
	orr	w8, w8, w9
	str	w8, [x19, #4]
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UC"

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

	.comm	_PARMRK,4,2                     ; @PARMRK
	.comm	_INPCK,4,2                      ; @INPCK
	.comm	_mode,16,2                      ; @mode
	.comm	_ICANON,4,2                     ; @ICANON
l_.str.2:                               ; @.str.2
	.asciz	"EP"

	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_PARODD,4,2                     ; @PARODD
l_.str.3:                               ; @.str.3
	.asciz	"OP"

	.comm	_ICRNL,4,2                      ; @ICRNL
	.comm	_ECHO,4,2                       ; @ECHO
	.comm	_OXTABS,4,2                     ; @OXTABS
l_.str.4:                               ; @.str.4
	.asciz	"NL"

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

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

	.comm	_ECHOE,4,2                      ; @ECHOE
	.comm	_ECHOK,4,2                      ; @ECHOK
	.comm	_IUCLC,4,2                      ; @IUCLC
	.comm	_OLCUC,4,2                      ; @OLCUC
	.comm	_ONLCR,4,2                      ; @ONLCR
.subsections_via_symbols
