	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_workarounds
_check_workarounds:                     ## @check_workarounds
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	-144(%rbp), %rdi
	movl	$100, %esi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	-144(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoul
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_fclose
	testq	%r15, %r15
	je	LBB0_6
## %bb.4:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	callq	_wpa_printf
	movq	%r15, (%r14)
	movq	_WORKAROUND_OCSP_OPTIONAL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	testq	%rax, %r15
	je	LBB0_6
## %bb.5:
	movl	8(%r14), %edi
	movl	$1, %esi
	callq	_http_ocsp_set
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_fclose
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hs20-osu-client.workarounds"

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

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"Workarounds enabled: 0x%lx"

	.comm	_WORKAROUND_OCSP_OPTIONAL,4,2   ## @WORKAROUND_OCSP_OPTIONAL
	.no_dead_strip	_check_workarounds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_workarounds
_check_workarounds:                     ; @check_workarounds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	add	x0, sp, #4
	mov	w1, #100
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_5
; %bb.2:
	add	x0, sp, #4
	mov	x1, #0
	mov	w2, #16
	bl	_strtoul
	mov	x21, x0
	mov	x0, x20
	bl	_fclose
	cbz	x21, LBB0_6
; %bb.3:
Lloh7:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x21
	bl	_wpa_printf
	str	x21, [x19]
Lloh12:
	adrp	x8, _WORKAROUND_OCSP_OPTIONAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WORKAROUND_OCSP_OPTIONAL@GOTPAGEOFF]
Lloh14:
	ldrsw	x8, [x8]
	tst	x21, x8
	b.eq	LBB0_6
; %bb.4:
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_http_ocsp_set
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_fclose
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hs20-osu-client.workarounds"

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

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"Workarounds enabled: 0x%lx"

	.comm	_WORKAROUND_OCSP_OPTIONAL,4,2   ; @WORKAROUND_OCSP_OPTIONAL
	.no_dead_strip	_check_workarounds
.subsections_via_symbols
