	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hycapi_fill_profile
_hycapi_fill_profile:                   ## @hycapi_fill_profile
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	movq	%rdi, %r14
	movl	48(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	movl	$2, 24(%rbx)
	movq	$0, 40(%rbx)
	movabsq	$8589934595, %rax               ## imm = 0x200000003
	movq	%rax, 28(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	_GLOBAL_OPTION_INTERNAL_CONTROLLER@GOTPCREL(%rip), %rax
	movq	_GLOBAL_OPTION_B_CHANNEL_OPERATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_B1_PROT_64KBIT_HDLC@GOTPCREL(%rip), %rdx
	movq	(%r14), %rcx
	xorl	%eax, %eax
	movl	$0, %esi
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	_B1_PROT_T30@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_3:
	orl	(%rdx), %esi
	movq	_B1_PROT_64KBIT_TRANSPARENT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, 4(%rbx)
	movq	_B2_PROT_ISO7776@GOTPCREL(%rip), %rsi
	movl	$0, %edx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	_B2_PROT_T30@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_5:
	orl	(%rsi), %edx
	movq	_B2_PROT_TRANSPARENT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	testq	%rcx, %rcx
	movl	%edx, 8(%rbx)
	movq	_B3_PROT_TRANSPARENT@GOTPCREL(%rip), %rcx
	movq	_B3_PROT_T90NL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_B3_PROT_T30@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmovel	%eax, %esi
	movq	_B3_PROT_T30EXT@GOTPCREL(%rip), %rdi
	cmovnel	(%rdi), %eax
	orl	(%rcx), %edx
	orl	%esi, %edx
	orl	%eax, %edx
	movq	_B3_PROT_ISO8208@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 12(%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Hypercope"

	.comm	_GLOBAL_OPTION_INTERNAL_CONTROLLER,4,2 ## @GLOBAL_OPTION_INTERNAL_CONTROLLER
	.comm	_GLOBAL_OPTION_B_CHANNEL_OPERATION,4,2 ## @GLOBAL_OPTION_B_CHANNEL_OPERATION
	.comm	_B1_PROT_64KBIT_HDLC,4,2        ## @B1_PROT_64KBIT_HDLC
	.comm	_B1_PROT_T30,4,2                ## @B1_PROT_T30
	.comm	_B1_PROT_64KBIT_TRANSPARENT,4,2 ## @B1_PROT_64KBIT_TRANSPARENT
	.comm	_B2_PROT_ISO7776,4,2            ## @B2_PROT_ISO7776
	.comm	_B2_PROT_T30,4,2                ## @B2_PROT_T30
	.comm	_B2_PROT_TRANSPARENT,4,2        ## @B2_PROT_TRANSPARENT
	.comm	_B3_PROT_TRANSPARENT,4,2        ## @B3_PROT_TRANSPARENT
	.comm	_B3_PROT_T90NL,4,2              ## @B3_PROT_T90NL
	.comm	_B3_PROT_T30,4,2                ## @B3_PROT_T30
	.comm	_B3_PROT_T30EXT,4,2             ## @B3_PROT_T30EXT
	.comm	_B3_PROT_ISO8208,4,2            ## @B3_PROT_ISO8208
	.no_dead_strip	_hycapi_fill_profile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function hycapi_fill_profile
lCPI0_0:
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_hycapi_fill_profile:                   ; @hycapi_fill_profile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0, #16]
	cbz	x20, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w0, [x20, #48]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
	mov	w8, #2
	str	w8, [x20, #24]
	str	xzr, [x20, #40]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x20, #28]
	ldr	d0, [x19, #8]
	str	d0, [x20, #16]
Lloh4:
	adrp	x8, _GLOBAL_OPTION_INTERNAL_CONTROLLER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GLOBAL_OPTION_INTERNAL_CONTROLLER@GOTPAGEOFF]
Lloh6:
	adrp	x9, _GLOBAL_OPTION_B_CHANNEL_OPERATION@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GLOBAL_OPTION_B_CHANNEL_OPERATION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh10:
	adrp	x8, _B1_PROT_64KBIT_HDLC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _B1_PROT_64KBIT_HDLC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	x9, [x19]
Lloh13:
	adrp	x10, _B1_PROT_T30@GOTPAGE
Lloh14:
	ldr	x10, [x10, _B1_PROT_T30@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _B1_PROT_64KBIT_TRANSPARENT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _B1_PROT_64KBIT_TRANSPARENT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh19:
	adrp	x9, _B2_PROT_ISO7776@GOTPAGE
Lloh20:
	ldr	x9, [x9, _B2_PROT_ISO7776@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _B2_PROT_T30@GOTPAGE
Lloh23:
	ldr	x10, [x10, _B2_PROT_T30@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	csel	w10, wzr, w10, eq
	orr	w9, w10, w9
Lloh25:
	adrp	x10, _B2_PROT_TRANSPARENT@GOTPAGE
Lloh26:
	ldr	x10, [x10, _B2_PROT_TRANSPARENT@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	orr	w9, w9, w10
	stp	w8, w9, [x20, #4]
Lloh28:
	adrp	x8, _B3_PROT_TRANSPARENT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _B3_PROT_TRANSPARENT@GOTPAGEOFF]
Lloh30:
	adrp	x9, _B3_PROT_T90NL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _B3_PROT_T90NL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh34:
	adrp	x9, _B3_PROT_T30@GOTPAGE
Lloh35:
	ldr	x9, [x9, _B3_PROT_T30@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh37:
	adrp	x9, _B3_PROT_T30EXT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _B3_PROT_T30EXT@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _B3_PROT_ISO8208@GOTPAGE
Lloh41:
	ldr	x9, [x9, _B3_PROT_ISO8208@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x20, #12]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hypercope"

	.comm	_GLOBAL_OPTION_INTERNAL_CONTROLLER,4,2 ; @GLOBAL_OPTION_INTERNAL_CONTROLLER
	.comm	_GLOBAL_OPTION_B_CHANNEL_OPERATION,4,2 ; @GLOBAL_OPTION_B_CHANNEL_OPERATION
	.comm	_B1_PROT_64KBIT_HDLC,4,2        ; @B1_PROT_64KBIT_HDLC
	.comm	_B1_PROT_T30,4,2                ; @B1_PROT_T30
	.comm	_B1_PROT_64KBIT_TRANSPARENT,4,2 ; @B1_PROT_64KBIT_TRANSPARENT
	.comm	_B2_PROT_ISO7776,4,2            ; @B2_PROT_ISO7776
	.comm	_B2_PROT_T30,4,2                ; @B2_PROT_T30
	.comm	_B2_PROT_TRANSPARENT,4,2        ; @B2_PROT_TRANSPARENT
	.comm	_B3_PROT_TRANSPARENT,4,2        ; @B3_PROT_TRANSPARENT
	.comm	_B3_PROT_T90NL,4,2              ; @B3_PROT_T90NL
	.comm	_B3_PROT_T30,4,2                ; @B3_PROT_T30
	.comm	_B3_PROT_T30EXT,4,2             ; @B3_PROT_T30EXT
	.comm	_B3_PROT_ISO8208,4,2            ; @B3_PROT_ISO8208
	.no_dead_strip	_hycapi_fill_profile
.subsections_via_symbols
